@@ -34,7 +34,8 @@ classifiers = [
34
34
" Typing :: Typed" ,
35
35
]
36
36
dynamic = [ " version" ]
37
-
37
+ # All the dependencies of the project will be configured here, once pip fully supports PEP735
38
+ # TODO: Remove all requirements.txt files and use this section instead once pip supports PEP735
38
39
dependencies = [
39
40
# Also upgrade requirements_test_min.txt.
40
41
# Pinned to dev of second minor update to allow editable installs and fix primer issues,
@@ -51,8 +52,10 @@ dependencies = [
51
52
" tomlkit>=0.10.1" ,
52
53
" typing-extensions>=3.10; python_version<'3.10'" ,
53
54
]
55
+
54
56
optional-dependencies.spelling = [ " pyenchant~=3.2" ]
55
57
optional-dependencies.testutils = [ " gitpython>3" ]
58
+
56
59
urls."Bug Tracker" = " https://github.com/pylint-dev/pylint/issues"
57
60
urls."Discord Server" = " https://discord.com/invite/Egy6P8AMB5"
58
61
urls."Docs: Contributor Guide" = " https://pylint.readthedocs.io/en/latest/development_guide/contributor_guide/index.html"
@@ -65,6 +68,44 @@ scripts.pylint-config = "pylint:_run_pylint_config"
65
68
scripts.pyreverse = " pylint:run_pyreverse"
66
69
scripts.symilar = " pylint:run_symilar"
67
70
71
+ [dependency-groups ]
72
+ dev = [
73
+ " contributors-txt>=1" ,
74
+ " pre-commit" ,
75
+ " tbump~=6.11.0" ,
76
+ ]
77
+
78
+ test = [
79
+ " coverage~=7.8" ,
80
+ " pytest-cov~=6.0" ,
81
+ " pytest-xdist~=3.6" ,
82
+ " six" ,
83
+ " tox>=3" ,
84
+ " types-setuptools==78.1.0.20250329" ,
85
+ { include-group = " test-min" },
86
+ ]
87
+
88
+ docs = [
89
+ " furo==2024.8.6" ,
90
+ " sphinx==8.2.3" ,
91
+ " sphinx-reredirects<1" ,
92
+ " towncrier~=24.8" ,
93
+ ]
94
+
95
+ # Configuration for the build system
96
+ test-min = [
97
+ # Base test dependencies
98
+ " astroid==4.0.0a0" , # Pinned to a specific version for tests
99
+ " py~=1.11.0" ,
100
+ " pytest~=8.3" ,
101
+ " pytest-benchmark~=5.1" ,
102
+ " pytest-timeout~=2.3" ,
103
+ " requests" ,
104
+ " setuptools; python_version>='3.12'" ,
105
+ " towncrier~=24.8" ,
106
+ " typing-extensions~=4.12" ,
107
+ ]
108
+
68
109
[tool .setuptools .packages .find ]
69
110
include = [ " pylint*" ]
70
111
0 commit comments