diff --git a/pyproject.toml b/pyproject.toml index 6912a82e..19c37ded 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,3 +67,9 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" "src/borg/testsuite/archiver/return_codes.py" = ["F811"] "src/borg/testsuite/benchmark.py" = ["F811"] "src/borg/testsuite/platform.py" = ["F811"] + +[tool.pytest.ini_options] +python_files = "testsuite/*.py" +markers = [ + "allow_cache_wipe", +] diff --git a/setup.cfg b/setup.cfg index afe4e95a..112dfb71 100644 --- a/setup.cfg +++ b/setup.cfg @@ -69,11 +69,6 @@ llfuse = llfuse >= 1.3.8 pyfuse3 = pyfuse3 >= 3.1.1 nofuse = -[tool:pytest] -python_files = testsuite/*.py -markers = - allow_cache_wipe - [mypy] python_version = 3.9 strict_optional = False