diff --git a/.gitignore b/.gitignore index ded7093..8b61aff 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /.coverage /.coverage.* /.tox +/.tmp *.deb *.egg-info diff --git a/tox.ini b/tox.ini index e9cf899..1ce41d7 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,14 @@ skip_missing_interpreters = true [testenv] deps = -rrequirements-dev.txt +allowlist_externals = + rm + mkdir commands = coverage erase - coverage run -m pytest -vv {posargs:tests} + rm -rf .tmp + mkdir .tmp + coverage run -m pytest -vv --basetemp=.tmp {posargs:tests} coverage combine coverage report --show-missing pre-commit run --all-files