Kaynağa Gözat

pyproject.toml: move pytest options

Thomas Waldmann 1 yıl önce
ebeveyn
işleme
34cadfdc4e
2 değiştirilmiş dosya ile 6 ekleme ve 5 silme
  1. 6 0
      pyproject.toml
  2. 0 5
      setup.cfg

+ 6 - 0
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",
+]

+ 0 - 5
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