Skip to content

Commit c20f679

Browse files
Move metadata to pyproject.toml from setup.cfg
1 parent a84640c commit c20f679

File tree

2 files changed

+42
-41
lines changed

2 files changed

+42
-41
lines changed

pyproject.toml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,45 @@
1-
# Only a configuration storage, for now
1+
[build-system]
2+
requires = ["setuptools>=66.1"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "pylint-pytest"
7+
version = "1.1.2"
8+
authors = [
9+
{name = "Reverb Chu", email = "[email protected]"}
10+
]
11+
description = "A Pylint plugin to suppress pytest-related false positives."
12+
readme = "README.md"
13+
classifiers = [
14+
"Development Status :: 5 - Production/Stable",
15+
"Intended Audience :: Developers",
16+
"Topic :: Software Development :: Testing",
17+
"Topic :: Software Development :: Quality Assurance",
18+
"Programming Language :: Python",
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3.6",
21+
"Programming Language :: Python :: 3.7",
22+
"Programming Language :: Python :: 3.8",
23+
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: Implementation :: CPython",
27+
"Operating System :: OS Independent",
28+
]
29+
keywords = ["pylint", "pytest", "plugin"]
30+
requires-python = ">=3.6"
31+
32+
dependencies = [
33+
"pylint<3",
34+
"pytest>=4.6"
35+
]
36+
37+
[tool.setuptools]
38+
license-files = ["LICENSE"]
39+
40+
41+
[tool.aliases]
42+
test = "pytest"
243

344
[tool.black]
445
line-length = 100

setup.cfg

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,5 @@
1-
[metadata]
2-
name = pylint-pytest
3-
version = 1.1.2
4-
author = Reverb Chu
5-
author_email = [email protected]
6-
maintainer = Reverb Chu
7-
maintainer_email = [email protected]
8-
license = MIT
9-
url = https://github.com/reverbc/pylint-pytest
10-
description = A Pylint plugin to suppress pytest-related false positives.
11-
long_description = file: README.md
12-
long_description_content_type = text/markdown
13-
classifiers =
14-
Development Status :: 5 - Production/Stable
15-
Intended Audience :: Developers
16-
Topic :: Software Development :: Testing
17-
Topic :: Software Development :: Quality Assurance
18-
Programming Language :: Python
19-
Programming Language :: Python :: 3
20-
Programming Language :: Python :: 3.6
21-
Programming Language :: Python :: 3.7
22-
Programming Language :: Python :: 3.8
23-
Programming Language :: Python :: 3.9
24-
Programming Language :: Python :: 3.10
25-
Programming Language :: Python :: 3.11
26-
Programming Language :: Python :: Implementation :: CPython
27-
Operating System :: OS Independent
28-
License :: OSI Approved :: MIT License
29-
keywords =
30-
pylint
31-
pytest
32-
plugin
33-
341
[options]
352
packages = find:
36-
install_requires =
37-
pylint<3
38-
pytest>=4.6
39-
python_requires = >=3.6
403
tests_require =
414
pytest
425
pytest-cov
@@ -47,8 +10,5 @@ exclude =
4710
tests
4811
sandbox
4912

50-
[aliases]
51-
test = pytest
52-
5313
[bdist_wheel]
5414
universal = 1

0 commit comments

Comments
 (0)