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