Skip to content

Commit 32871c5

Browse files
Move deprecated 'tool.setuptools.license-files', remove license classifier (#10289)
Co-authored-by: Pierre Sassoulas <[email protected]>
1 parent 6455c45 commit 32871c5

File tree

3 files changed

+2
-28
lines changed

3 files changed

+2
-28
lines changed

.pre-commit-config.yaml

-14
Original file line numberDiff line numberDiff line change
@@ -156,20 +156,6 @@ repos:
156156
exclude: *fixtures
157157
args: ["--max-summary-lines=2", "--linewrap-full-docstring"]
158158
files: "pylint"
159-
- repo: https://github.com/regebro/pyroma
160-
rev: "4.2"
161-
hooks:
162-
- id: pyroma
163-
# Must be specified because of the default value in pyroma
164-
always_run: false
165-
files: |
166-
(?x)^(
167-
README.rst|
168-
pyproject.toml|
169-
pylint/__init__.py|
170-
pylint/__pkginfo__.py|
171-
setup.cfg
172-
)$
173159
- repo: https://github.com/PyCQA/bandit
174160
rev: 1.7.9
175161
hooks:

pyproject.toml

+2-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ name = "pylint"
88
description = "python code static checker"
99
readme = "README.rst"
1010
keywords = [ "lint", "linter", "python", "static code analysis" ]
11-
license = { text = "GPL-2.0-or-later" }
11+
license = "GPL-2.0-or-later"
12+
license-files = [ "LICENSE", "CONTRIBUTORS.txt" ]
1213
authors = [
1314
{ name = "Python Code Quality Authority", email = "[email protected]" },
1415
]
@@ -17,7 +18,6 @@ classifiers = [
1718
"Development Status :: 6 - Mature",
1819
"Environment :: Console",
1920
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
2121
"Operating System :: OS Independent",
2222
"Programming Language :: Python",
2323
"Programming Language :: Python :: 3 :: Only",
@@ -65,9 +65,6 @@ scripts.pylint-config = "pylint:_run_pylint_config"
6565
scripts.pyreverse = "pylint:run_pyreverse"
6666
scripts.symilar = "pylint:run_symilar"
6767

68-
[tool.setuptools]
69-
license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] # Keep in sync with setup.cfg
70-
7168
[tool.setuptools.packages.find]
7269
include = [ "pylint*" ]
7370

setup.cfg

-9
This file was deleted.

0 commit comments

Comments
 (0)