diff --git a/pyproject.toml b/pyproject.toml index f4ccb24..d4d310d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,3 +14,14 @@ target-version = "py37" [tool.ruff.isort] force-single-line = true + +[tool.pytest.ini_options] +addopts = """ +--tb=short +--cov-config .coveragerc +--cov=vdirsyncer +--cov-report=term-missing:skip-covered +--no-cov-on-fail +--color=yes +""" +# filterwarnings=error diff --git a/setup.cfg b/setup.cfg index 642d06f..5eb4267 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,13 +1,3 @@ -[tool:pytest] -addopts = - --tb=short - --cov-config .coveragerc - --cov=vdirsyncer - --cov-report=term-missing:skip-covered - --no-cov-on-fail - --color=yes -# filterwarnings=error - [mypy] ignore_missing_imports = True # See https://github.com/python/mypy/issues/7511: