Skip to content

Commit 3cb3cd1

Browse files
committed
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).
1 parent 0ddfdfc commit 3cb3cd1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ python_classes = ["Test", "Acceptance"]
1717
python_functions = ["test"]
1818
# NOTE: "doc" is not included here, but gets tested explicitly via "doctesting".
1919
testpaths = ["testing"]
20-
norecursedirs = ["testing/example_scripts"]
20+
norecursedirs = [
21+
"testing/example_scripts",
22+
".*",
23+
"build",
24+
"dist",
25+
]
2126
xfail_strict = true
2227
filterwarnings = [
2328
"error",

0 commit comments

Comments
 (0)