-
Notifications
You must be signed in to change notification settings - Fork 136
/
Copy pathpyproject.toml
104 lines (89 loc) · 2.82 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# -- PACKAGE --------------------------
[build-system]
requires = ["setuptools>=65.5"]
build-backend = "setuptools.build_meta"
[project]
authors = [
{name = "CodeRed LLC", email = "info@coderedcorp.com"}
]
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Wagtail",
"Framework :: Wagtail :: 6",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Site Management",
]
dependencies = [
"beautifulsoup4>=4.8,<4.13", # should be the same as wagtail
"django-eventtools==1.0.*",
"django-bootstrap5==24.3",
"Django>=4.2,<6.0", # should be the same as wagtail
"geocoder==1.38.*",
"icalendar==6.0.*",
"wagtail>=6.3,<7.0",
"wagtail-cache>=2.4,<3",
"wagtail-seo>=2.5,<3",
]
description = "Wagtail + CodeRed Extensions enabling rapid development of marketing-focused websites."
dynamic = ["version"]
license = {file = "LICENSE.txt"}
name = "coderedcms"
readme = "README.md"
requires-python = ">=3.9"
[project.scripts]
coderedcms = "coderedcms.bin.coderedcms:main"
[project.urls]
Source = "https://github.com/coderedcorp/coderedcms"
Documentation = "https://docs.coderedcorp.com/wagtail-crx/"
Changelog = "https://docs.coderedcorp.com/wagtail-crx/releases/"
[tool.setuptools]
packages = ["coderedcms"]
[tool.setuptools.dynamic]
version = {attr = "coderedcms.__version__"}
# -- TOOLS ----------------------------
[tool.codespell]
skip = 'migrations,vendor,_build,*.css.map,*.jpg,*.png,*.pyc'
ignore-words-list = 'assertIn'
[tool.django-stubs]
django_settings_module = "coderedcms.tests.settings"
[tool.mypy]
ignore_missing_imports = true
plugins = ["mypy_django_plugin.main"]
exclude = [
'^\..*',
'migrations',
'node_modules',
'venv',
'testproject',
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "coderedcms.tests.settings"
addopts = "--cov --cov-report html --cov-report xml --junitxml junit/test-results.xml"
python_files = "tests.py test_*.py"
junit_family = "xunit2"
junit_suite_name = "coderedcms"
[tool.ruff]
extend-exclude = ["migrations", "testproject"]
line-length = 80
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
case-sensitive = false
force-single-line = true
lines-after-imports = 2