Skip to content

Commit

Permalink
[pyproject.toml] Migrate from test_requires to optional extra 'test'
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Nov 4, 2023
1 parent 246232c commit 3cbbfc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ dependencies = [
"pytest>=4.6"
]

[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]

[project.urls]
"Changelog"="https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md"
"Documentation"="https://github.com/pylint-dev/pylint-pytest#readme"
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from setuptools import setup

setup(
tests_require=["pytest", "pytest-cov", "pylint"],
)
setup()

0 comments on commit 3cbbfc6

Please sign in to comment.