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