pyproject.toml: move pytest options

This commit is contained in:
Thomas Waldmann 2023-09-04 23:16:20 +02:00
parent 5cce0d7504
commit 34cadfdc4e
No known key found for this signature in database
GPG Key ID: 243ACFA951F78E01
2 changed files with 6 additions and 5 deletions

View File

@ -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",
]

View File

@ -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