@@ -7,9 +7,9 @@ requires = [
7
7
[project ]
8
8
name = " feincms3-data"
9
9
readme = " README.rst"
10
- license = {text = " BSD-3-Clause" }
10
+ license = { text = " BSD-3-Clause" }
11
11
authors = [
12
- {
name =
" Matthias Kestenholz" ,
email =
" [email protected] " },
12
+ {
name =
" Matthias Kestenholz" ,
email =
" [email protected] " },
13
13
]
14
14
requires-python = " >=3.8"
15
15
classifiers = [
@@ -24,6 +24,7 @@ classifiers = [
24
24
" Programming Language :: Python :: 3.9" ,
25
25
" Programming Language :: Python :: 3.10" ,
26
26
" Programming Language :: Python :: 3.11" ,
27
+ " Programming Language :: Python :: 3.12" ,
27
28
" Topic :: Internet :: WWW/HTTP :: Dynamic Content" ,
28
29
" Topic :: Software Development" ,
29
30
" Topic :: Software Development :: Libraries :: Application Frameworks" ,
@@ -32,78 +33,71 @@ dynamic = [
32
33
" version" ,
33
34
]
34
35
dependencies = [
35
- " Django >=3.2" ,
36
+ " django >=3.2" ,
36
37
]
37
- [project .optional-dependencies ]
38
- tests = [
38
+ optional-dependencies.tests = [
39
39
" coverage" ,
40
40
]
41
- [project .urls ]
42
- Homepage = " https://github.com/matthiask/feincms3-data/"
41
+ urls.Homepage = " https://github.com/matthiask/feincms3-data/"
43
42
44
43
[tool .hatch .version ]
45
44
path = " feincms3_data/__init__.py"
46
45
47
46
[tool .ruff ]
48
- extend-select = [
49
- # pyflakes, pycodestyle
50
- " F" , " E" , " W" ,
51
- # mmcabe
52
- " C90" ,
53
- # isort
54
- " I" ,
55
- # pep8-naming
56
- " N" ,
57
- # pyupgrade
58
- " UP" ,
59
- # flake8-2020
60
- " YTT" ,
61
- # flake8-boolean-trap
62
- " FBT" ,
47
+ target-version = " py38"
48
+
49
+ fix = true
50
+ show-fixes = true
51
+ lint.extend-select = [
63
52
# flake8-bugbear
64
53
" B" ,
65
- # flake8-builtins
66
- " A" ,
67
54
# flake8-comprehensions
68
55
" C4" ,
56
+ # mmcabe
57
+ " C90" ,
69
58
# flake8-django
70
59
" DJ" ,
60
+ " E" ,
61
+ # pyflakes, pycodestyle
62
+ " F" ,
63
+ # flake8-boolean-trap
64
+ " FBT" ,
71
65
# flake8-logging-format
72
66
" G" ,
73
- # flake8-pie
74
- " PIE" ,
75
- # flake8-simplify
76
- " SIM" ,
67
+ # isort
68
+ " I" ,
77
69
# flake8-gettext
78
70
" INT" ,
71
+ # pep8-naming
72
+ " N" ,
79
73
# pygrep-hooks
80
74
" PGH" ,
75
+ # flake8-pie
76
+ " PIE" ,
81
77
# pylint
82
78
" PL" ,
83
79
# unused noqa
84
80
" RUF100" ,
81
+ # flake8-simplify
82
+ " SIM" ,
83
+ # pyupgrade
84
+ " UP" ,
85
+ " W" ,
86
+ # flake8-2020
87
+ " YTT" ,
85
88
]
86
- extend-ignore = [
89
+ lint. extend-ignore = [
87
90
# Allow zip() without strict=
88
91
" B905" ,
89
92
# No line length errors
90
93
" E501" ,
91
94
]
92
- fix = true
93
- show-fixes = true
94
- target-version = " py38"
95
-
96
- [tool .ruff .isort ]
97
- combine-as-imports = true
98
- lines-after-imports = 2
99
-
100
- [tool .ruff .mccabe ]
101
- max-complexity = 15
102
-
103
- [tool .ruff .per-file-ignores ]
104
- "*/migrat*/*" = [
95
+ lint.per-file-ignores."*/migrat*/*" = [
105
96
# Allow using PascalCase model names in migrations
106
97
" N806" ,
107
98
# Ignore the fact that migration files are invalid module names
108
99
" N999" ,
109
100
]
101
+ lint.isort.combine-as-imports = true
102
+ lint.isort.lines-after-imports = 2
103
+ lint.mccabe.max-complexity = 15
0 commit comments