1
+ [build-system ]
2
+ build-backend = " poetry.core.masonry.api"
3
+
4
+ requires = [ " poetry-core>=1" ]
5
+
1
6
[tool .poetry ]
2
7
name = " pylint-django"
3
8
version = " 2.7.0"
4
9
readme = " README.rst"
5
10
description = " A Pylint plugin to help Pylint understand the Django web framework"
6
11
repository = " https://github.com/PyCQA/pylint-django"
7
- authors = [" Carl Crowder <git@carlcrowder.com>" ]
12
+ authors = [ " Carl Crowder <git@carlcrowder.com>" ]
8
13
classifiers = [
9
- " Development Status :: 5 - Production/Stable" ,
10
- " Environment :: Console" ,
11
- " Intended Audience :: Developers" ,
12
- " Operating System :: Unix" ,
13
- " Topic :: Software Development :: Quality Assurance" ,
14
- " Programming Language :: Python :: 3" ,
15
- " Programming Language :: Python :: 3.8" ,
16
- " Programming Language :: Python :: 3.9" ,
17
- " Programming Language :: Python :: 3.10" ,
18
- " Programming Language :: Python :: 3.11" ,
19
- " Programming Language :: Python :: 3.12" ,
20
- " Framework :: Django :: 2.2" ,
21
- " Framework :: Django :: 3" ,
22
- " Framework :: Django :: 3.0" ,
23
- " Framework :: Django :: 3.1" ,
24
- " Framework :: Django :: 3.2" ,
25
- " Framework :: Django :: 4" ,
26
- " Framework :: Django :: 4.0" ,
27
- " Framework :: Django :: 4.1" ,
28
- " Framework :: Django :: 4.2" ,
29
- " Framework :: Django :: 5.0" ,
30
- " License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)" ,
14
+ " Development Status :: 5 - Production/Stable" ,
15
+ " Environment :: Console" ,
16
+ " Intended Audience :: Developers" ,
17
+ " Operating System :: Unix" ,
18
+ " Topic :: Software Development :: Quality Assurance" ,
19
+ " Programming Language :: Python :: 3" ,
20
+ " Programming Language :: Python :: 3.8" ,
21
+ " Programming Language :: Python :: 3.9" ,
22
+ " Programming Language :: Python :: 3.10" ,
23
+ " Programming Language :: Python :: 3.11" ,
24
+ " Programming Language :: Python :: 3.12" ,
25
+ " Framework :: Django :: 2.2" ,
26
+ " Framework :: Django :: 3" ,
27
+ " Framework :: Django :: 3.0" ,
28
+ " Framework :: Django :: 3.1" ,
29
+ " Framework :: Django :: 3.2" ,
30
+ " Framework :: Django :: 4" ,
31
+ " Framework :: Django :: 4.0" ,
32
+ " Framework :: Django :: 4.1" ,
33
+ " Framework :: Django :: 4.2" ,
34
+ " Framework :: Django :: 5.0" ,
35
+ " License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)" ,
31
36
]
32
- keywords = [" pylint" , " django" , " plugin" ]
37
+ keywords = [ " pylint" , " django" , " plugin" ]
33
38
packages = [
34
- { include = " pylint_django/" }
39
+ { include = " pylint_django/" },
35
40
]
36
- include = [" pylint_django/LICENSE" ]
37
- exclude = [" **/tests/**" , " **/testutils.py" , " **/tests.py" ]
38
-
41
+ include = [ " pylint_django/LICENSE" ]
42
+ exclude = [ " **/tests/**" , " **/testutils.py" , " **/tests.py" ]
39
43
40
44
[tool .poetry .dependencies ]
41
45
python = " >=3.8,<4.0"
@@ -44,7 +48,7 @@ pylint = ">=2.0,<4"
44
48
Django = { version = " >=2.2" , optional = true }
45
49
46
50
[tool .poetry .group .dev .dependencies ]
47
- tox = " ^4 "
51
+ tox = " >=4.9 "
48
52
pytest = " ^7.3.1"
49
53
ruff = " >=0.1.1"
50
54
wheel = " ^0.40"
@@ -54,15 +58,26 @@ factory-boy = "^3.3"
54
58
django-tastypie = " ^0.14"
55
59
56
60
[tool .poetry .extras ]
57
- with_django = [" Django" ]
58
-
59
- [build-system ]
60
- requires = [" poetry-core>=1.0.0" ]
61
- build-backend = " poetry.core.masonry.api"
61
+ with_django = [ " Django" ]
62
62
63
63
[tool .black ]
64
64
line-length = 120
65
65
66
+ [tool .ruff ]
67
+ line-length = 120
68
+ select = [
69
+ " E" , # pycodestyle
70
+ " F" , # pyflakes
71
+ " W" , # pycodestyle
72
+ " B" , # bugbear
73
+ " I" , # isort
74
+ " RUF" , # ruff
75
+ " UP" , # pyupgrade
76
+ ]
77
+ ignore = [
78
+ " RUF012" , # Mutable class attributes should be annotated with `typing.ClassVar`
79
+ ]
80
+
66
81
[tool .isort ]
67
82
multi_line_output = 3
68
83
include_trailing_comma = true
@@ -72,25 +87,12 @@ line_length = 120
72
87
73
88
[tool .pylint .main ]
74
89
disable = [
75
- " missing-docstring" ,
76
- " too-many-branches" , " too-many-return-statements" , " too-many-ancestors" ,
77
- " too-few-public-methods" ,
78
- " fixme" ,
90
+ " missing-docstring" ,
91
+ " too-many-branches" ,
92
+ " too-many-return-statements" ,
93
+ " too-many-ancestors" ,
94
+ " too-few-public-methods" ,
95
+ " fixme" ,
79
96
]
80
97
ignore = " tests"
81
98
max-line-length = 120
82
-
83
- [tool .ruff ]
84
- line-length = 120
85
- select = [
86
- " E" , # pycodestyle
87
- " F" , # pyflakes
88
- " W" , # pycodestyle
89
- " B" , # bugbear
90
- " I" , # isort
91
- " RUF" , # ruff
92
- " UP" , # pyupgrade
93
- ]
94
- ignore = [
95
- " RUF012" , # Mutable class attributes should be annotated with `typing.ClassVar`
96
- ]
0 commit comments