Avoid pytest recursing into static content folder

When the datamaps script is run in development, the static content
folder has a lot of files and directories, slowing down pytest test
collection.
This commit is contained in:
John Whitlock
2021-03-02 12:29:28 -06:00
parent c15f7d6b42
commit e9252c0ffa

View File

@@ -21,7 +21,7 @@ max-line-length = 88
# -rsxX - show skipped, failed, and passed tests
addopts = --pyargs --tb=native -rsxX -p no:cacheprovider --durations=10
python_files = test_*.py tests.py
norecursedirs = .git docs __pycache__ docker
norecursedirs = .git docs __pycache__ docker static source_data
testpaths = ichnaea/ mobile_codes/
[tool:release]