Skip to content

Commit 05e6359

Browse files
committed
Copy-paste those changes from a different branch
Signed-off-by: Stavros Ntentos <[email protected]>
1 parent 37aea8b commit 05e6359

File tree

2 files changed

+39
-18
lines changed

2 files changed

+39
-18
lines changed

pyproject.toml

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,21 @@
22
requires = ["setuptools>=66.1"]
33
build-backend = "setuptools.build_meta"
44

5-
[tool.setuptools]
6-
license-files = ["LICENSE"]
7-
8-
[tool.setuptools.packages.find]
9-
exclude=["tests*", "sandbox"]
10-
115
[project]
126
name = "pylint-pytest"
13-
version = "1.1.3"
7+
version = "2.0.0rc0"
8+
license = {file = "LICENSE"}
9+
description = "A Pylint plugin to suppress pytest-related false positives."
10+
1411
authors = [
1512
{name = "Reverb Chu"},
1613
]
1714
maintainers = [
1815
{name = "Stavros Ntentos", email = "[email protected]"},
1916
{name = "Pierre Sassoulas", email = "[email protected]"},
2017
]
21-
description = "A Pylint plugin to suppress pytest-related false positives."
22-
readme = "README.md"
18+
19+
readme = "README.md"
2320
classifiers = [
2421
"Development Status :: 5 - Production/Stable",
2522
"Intended Audience :: Developers",
@@ -34,27 +31,44 @@ classifiers = [
3431
"Programming Language :: Python :: 3.12",
3532
"Programming Language :: Python :: Implementation :: CPython",
3633
"Operating System :: OS Independent",
34+
"License :: OSI Approved :: MIT License",
35+
]
36+
keywords = [
37+
"pylint",
38+
"pytest",
39+
"plugin",
3740
]
38-
keywords = ["pylint", "pytest", "plugin"]
39-
requires-python = ">=3.8"
4041

42+
requires-python = ">=3.8"
4143
dependencies = [
42-
"pylint<3",
43-
"pytest>=4.6"
44+
"pylint>=2",
45+
"pytest>=4.6",
4446
]
4547

4648
[project.optional-dependencies]
4749
test = [
4850
"pytest",
4951
"pytest-cov",
52+
# For linting purposes, only pylint>3 is supported
53+
"pylint>=3",
5054
]
5155

5256
[project.urls]
53-
"Changelog"="https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md"
54-
"Documentation"="https://github.com/pylint-dev/pylint-pytest#readme"
55-
"Say Thanks!"="https://saythanks.io/to/stdedos"
56-
"Source"="https://github.com/pylint-dev/pylint-pytest"
57-
"Tracker"="https://github.com/pylint-dev/pylint-pytest/issues"
57+
Changelog = "https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md"
58+
Documentation = "https://github.com/pylint-dev/pylint-pytest#readme"
59+
Homepage = "https://github.com/pylint-dev/pylint-pytest"
60+
Source = "https://github.com/pylint-dev/pylint-pytest"
61+
Tracker = "https://github.com/pylint-dev/pylint-pytest/issues"
62+
"Say Thanks!" = "https://saythanks.io/to/stdedos"
63+
64+
[tool.setuptools]
65+
license-files = ["LICENSE"]
66+
67+
[tool.setuptools.packages.find]
68+
exclude = [
69+
"tests*",
70+
"sandbox",
71+
]
5872

5973
[tool.aliases]
6074
test = "pytest"

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#!/usr/bin/env python3
2+
3+
"""
4+
Only a compatibility placeholder
5+
https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
6+
"""
7+
18
from setuptools import setup
29

310
setup()

0 commit comments

Comments
 (0)