Skip to content

Commit

Permalink
Move metadata to pyproject.toml from setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Oct 15, 2023
1 parent a84640c commit c20f679
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 41 deletions.
43 changes: 42 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,45 @@
# Only a configuration storage, for now
[build-system]
requires = ["setuptools>=66.1"]
build-backend = "setuptools.build_meta"

[project]
name = "pylint-pytest"
version = "1.1.2"
authors = [
{name = "Reverb Chu", email = "[email protected]"}
]
description = "A Pylint plugin to suppress pytest-related false positives."
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Quality Assurance",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
]
keywords = ["pylint", "pytest", "plugin"]
requires-python = ">=3.6"

dependencies = [
"pylint<3",
"pytest>=4.6"
]

[tool.setuptools]
license-files = ["LICENSE"]


[tool.aliases]
test = "pytest"

[tool.black]
line-length = 100
Expand Down
40 changes: 0 additions & 40 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,42 +1,5 @@
[metadata]
name = pylint-pytest
version = 1.1.2
author = Reverb Chu
author_email = [email protected]
maintainer = Reverb Chu
maintainer_email = [email protected]
license = MIT
url = https://github.com/reverbc/pylint-pytest
description = A Pylint plugin to suppress pytest-related false positives.
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Topic :: Software Development :: Testing
Topic :: Software Development :: Quality Assurance
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: CPython
Operating System :: OS Independent
License :: OSI Approved :: MIT License
keywords =
pylint
pytest
plugin

[options]
packages = find:
install_requires =
pylint<3
pytest>=4.6
python_requires = >=3.6
tests_require =
pytest
pytest-cov
Expand All @@ -47,8 +10,5 @@ exclude =
tests
sandbox

[aliases]
test = pytest

[bdist_wheel]
universal = 1

0 comments on commit c20f679

Please sign in to comment.