diff --git a/pyproject.toml b/pyproject.toml index 431834f0bc..04eb917dad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,3 +66,6 @@ codespell_lib = [ [tool.check-manifest] ignore = ["codespell_lib/_version.py"] + +[tool.pytest.ini_options] +addopts = "--cov=codespell_lib -rs --cov-report= --tb=short --junit-xml=junit-results.xml" diff --git a/setup.cfg b/setup.cfg index 9776335475..ae7e595a3b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,3 @@ -[tool:pytest] -addopts = --cov=codespell_lib -rs --cov-report= --tb=short --junit-xml=junit-results.xml - [flake8] exclude = build, ci-helpers ignore = W503