-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpyproject.toml
95 lines (91 loc) · 2.58 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
[project]
name="djangocms-style"
dynamic = ["version"]
description="Adds style plugin to django CMS"
readme="README.rst"
license={text="BSD-3-Clause"}
authors=[
{name="Divio AG", email="[email protected]"},
]
maintainers=[
{name="Django CMS Association and contributors", email="[email protected]"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django CMS",
"Framework :: Django CMS :: 3.7",
"Framework :: Django CMS :: 3.8",
"Framework :: Django CMS :: 3.9",
"Framework :: Django CMS :: 3.10",
"Framework :: Django CMS :: 3.11",
"Framework :: Django CMS :: 4.1",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"django-cms>=3.7",
"djangocms-attributes-field>=1",
]
[project.urls]
repository = "https://github.com/django-cms/djangocms-style"
[tool.setuptools.dynamic]
version = {attr = "djangocms_style.__version__"}
[tool.codespell]
skip = '*.po'
[tool.ruff]
line-length = 119
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"FBT", # flake8-boolean-trap
"B", # flake8-bugbear
"C", # flake8-comprehensions
"DJ", # flake8-django
"INT", # flake8-gettext
"PIE", # flake8-pie
"Q", # flake8-quotes
"SIM", # flake8-simplify
"PGH", # pygrep-hooks
"PLE", # pylint error
"PLR", # pylint refactor
"PLW", # pylint warning
"UP", # pyupgrade
"C901", # mccabe
"N", # pep8-naming
"YTT", # flake8-2020
"RUF"
]
lint.exclude = [
".env",
".venv",
"**/migrations/**",
]
lint.ignore = [
"E501", # line too long
"F403", # 'from module import *' used; unable to detect undefined names
"E701", # multiple statements on one line (colon)
"F401", # module imported but unused
]
[tool.ruff.lint.per-file-ignores]
"conftest.py" = [
"N806", # expects variable name in lowercase
]