diff --git a/pyproject.toml b/pyproject.toml index 6ee7df2..9b02ee7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,3 +6,11 @@ build-backend = "setuptools.build_meta" skip-string-normalization = true [tool.setuptools_scm] + +# jaraco/skeleton#22 +[tool.jaraco.pytest.opts.--black] +action = "store_true" + +# jaraco/skeleton#22 +[tool.jaraco.pytest.opts.--mypy] +action = "store_true" diff --git a/setup.cfg b/setup.cfg index e2dcebb..e9dd177 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,9 +26,11 @@ testing = pytest >= 3.5, !=3.7.3 pytest-checkdocs >= 1.2.3 pytest-flake8 - pytest-black >= 0.3.7 + pytest-black >= 0.3.7; python_implementation != "PyPy" pytest-cov - pytest-mypy + pytest-mypy; python_implementation != "PyPy" + # jaraco/skeleton#22 + jaraco.test >= 3 # local