diff --git a/tox.ini b/tox.ini index eef2eb1d2..71e859c6b 100644 --- a/tox.ini +++ b/tox.ini @@ -38,10 +38,14 @@ passenv = PYTHONOPTIMIZE [testenv:pep8] +description = + Run style checks. +skip_install = true +deps = + pre-commit commands = - doc8 doc/source/ CONTRIBUTING.rst HACKING.rst README.rst - flake8 - #bandit -r watcher -x watcher/tests/* -n5 -ll -s B320 + pre-commit run --all-files --show-diff-on-failure + [testenv:venv] setenv = PYTHONHASHSEED=0