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:
parent
0ddfdfcc04
commit
3cb3cd1a08
|
@ -17,7 +17,12 @@ python_classes = ["Test", "Acceptance"]
|
|||
python_functions = ["test"]
|
||||
# NOTE: "doc" is not included here, but gets tested explicitly via "doctesting".
|
||||
testpaths = ["testing"]
|
||||
norecursedirs = ["testing/example_scripts"]
|
||||
norecursedirs = [
|
||||
"testing/example_scripts",
|
||||
".*",
|
||||
"build",
|
||||
"dist",
|
||||
]
|
||||
xfail_strict = true
|
||||
filterwarnings = [
|
||||
"error",
|
||||
|
|
Loading…
Reference in New Issue