diff --git a/pyproject.toml b/pyproject.toml index 6621305..48bdd48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/setup.py b/setup.py index d393410..6068493 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,3 @@ from setuptools import setup -setup( - tests_require=["pytest", "pytest-cov", "pylint"], -) +setup()