-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (112 loc) · 2.81 KB
/
pyproject.toml
File metadata and controls
124 lines (112 loc) · 2.81 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools", "setuptools-scm" ]
[project]
name = "djangocms-stories"
description = "The versatile stories and blog application for django CMS 4+"
readme = "README.rst"
license = "BSD-3-Clause"
authors = [
{ name = "Fabian Braun", email = "fsbraun@gmx.de" },
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Framework :: Django CMS :: 4.1",
"Framework :: Django CMS :: 5.0",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
dependencies = [
"django-cms>=4.1",
"django-filer>=2",
"django-meta>=2",
"django-parler>=2",
"django-sortedm2m",
"django-taggit>=1",
"django-taggit-autosuggest",
"django-taggit-templatetags",
"easy-thumbnails>=2.4.1",
"lxml",
"pytz",
]
optional-dependencies.docs = [
"django<5",
]
optional-dependencies.taggit-helpers = [
"django-taggit-helpers",
]
optional-dependencies.test = [
"coverage",
"coveralls>=2",
"django-taggit-helpers",
"djangocms-text",
"djangocms-video",
"pysolr",
"pytest",
"pytest-asyncio",
"pytest-django",
"pytest-factoryboy",
]
# urls.Documentation = "https://djangocms-blog.readthedocs.io/"
urls.Homepage = "https://github.com/django-cms/djangocms-stories"
# urls."Release notes" = ""
urls.Issues = "https://github.com/fsbraun/djangocms-stories/issues"
[tool.setuptools.dynamic]
version = { attr = "djangocms_stories.__version__" }
[tool.setuptools.packages.find]
where = [ "." ]
include = [ "djangocms_stories*", "djangocms_blog*" ]
[tool.setuptools.package-data]
"*" = [
"templates/**/*.html",
"static/**/*",
"locale/**/*",
"*.po",
"*.mo",
]
[tool.black]
line-length = 119
target-version = [ "py310" ]
[tool.ruff]
target-version = "py310"
line-length = 119
exclude = [ "djangocms_blog", "djangocms_stories/migrations", "tests/fixtures" ]
lint.ignore = [ ]
lint.mccabe.max-complexity = 5
[tool.isort]
profile = "black"
combine_as_imports = true
default_section = "THIRDPARTY"
force_grid_wrap = 0
include_trailing_comma = true
known_first_party = "knocker"
line_length = 119
multi_line_output = 3
use_parentheses = true
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
addopts = [
"--nomigrations",
]
python_files = [ "tests.py", "test_*.py" ]
testpaths = [ "tests" ]
pythonpath = [ "." ]
[tool.coverage.run]
source = [
"djangocms_stories",
]
omit = [
"djangocms_stories/migrations/*",
]