testing: add `.*` to `norecursedirs`

Setting `norecursedirs` overrides the default, so we end up scanning
dot-directories and such which slows down collection unnecessarily
(150ms on my working directory).
This commit is contained in:
Ran Benita 2023-08-20 00:16:31 +03:00
parent 0ddfdfcc04
commit 3cb3cd1a08
1 changed files with 6 additions and 1 deletions

View File

@ -17,7 +17,12 @@ python_classes = ["Test", "Acceptance"]
python_functions = ["test"] python_functions = ["test"]
# NOTE: "doc" is not included here, but gets tested explicitly via "doctesting". # NOTE: "doc" is not included here, but gets tested explicitly via "doctesting".
testpaths = ["testing"] testpaths = ["testing"]
norecursedirs = ["testing/example_scripts"] norecursedirs = [
"testing/example_scripts",
".*",
"build",
"dist",
]
xfail_strict = true xfail_strict = true
filterwarnings = [ filterwarnings = [
"error", "error",