Skip to content

Commit 4981b91

Browse files
author
Anis Da Silva Campos
committed
fixup! rework dev dependencies management
no need for setup.* files. used to migrate two tools: `setuptools-py2cfg >>setup.cfg` then `ini2toml setup.cfg >> pyproject.toml`
1 parent ac9972c commit 4981b91

File tree

3 files changed

+53
-55
lines changed

3 files changed

+53
-55
lines changed

pyproject.toml

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,62 @@
11
# Only a configuration storage, for now
22
[build-system]
3-
requires = ["setuptools"]
3+
requires = ["setuptools>=61.2"]
4+
build-backend = "setuptools.build_meta"
5+
6+
[project]
7+
name = "pylint-pytest"
8+
version = "1.1.7"
9+
authors = [{name = "Stavros Ntentos", email = "[email protected]"}]
10+
license = {text = "MIT"}
11+
description = "A Pylint plugin to suppress pytest-related false positives."
12+
keywords = ["pylint", "pytest", "plugin"]
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.8",
21+
"Programming Language :: Python :: 3.9",
22+
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
24+
"Programming Language :: Python :: Implementation :: CPython",
25+
"Operating System :: OS Independent",
26+
"License :: OSI Approved :: MIT License",
27+
]
28+
requires-python = ">=3.8"
29+
dependencies = [
30+
"pylint>=2,<4",
31+
"pytest>=4.6",
32+
]
33+
34+
[project.readme]
35+
file = "README.md"
36+
content-type = "text/markdown"
37+
38+
[project.urls]
39+
Homepage = "https://github.com/pylint-dev/pylint-pytest"
40+
Changelog = "https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md"
41+
Documentation = "https://github.com/pylint-dev/pylint-pytest#readme"
42+
"Say Thanks!" = "https://saythanks.io/to/stdedos"
43+
Source = "https://github.com/pylint-dev/pylint-pytest"
44+
Tracker = "https://github.com/pylint-dev/pylint-pytest/issues"
45+
446

547
[tool.aliases]
648
test = "pytest"
749

50+
[tool.setuptools]
51+
include-package-data = false
52+
53+
[tool.setuptools.packages.find]
54+
exclude = [
55+
"tests*",
56+
"sandbox",
57+
]
58+
namespaces = false
59+
860
[tool.black]
961
line-length = 100
1062

setup.cfg

Lines changed: 0 additions & 49 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)