Merge "[pre-commit] enforce pre-commit checks in ci"
This commit is contained in:
commit
9d37d705e4
10
tox.ini
10
tox.ini
@ -38,10 +38,14 @@ passenv =
|
|||||||
PYTHONOPTIMIZE
|
PYTHONOPTIMIZE
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
description =
|
||||||
|
Run style checks.
|
||||||
|
skip_install = true
|
||||||
|
deps =
|
||||||
|
pre-commit
|
||||||
commands =
|
commands =
|
||||||
doc8 doc/source/ CONTRIBUTING.rst HACKING.rst README.rst
|
pre-commit run --all-files --show-diff-on-failure
|
||||||
flake8
|
|
||||||
#bandit -r watcher -x watcher/tests/* -n5 -ll -s B320
|
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
setenv = PYTHONHASHSEED=0
|
setenv = PYTHONHASHSEED=0
|
||||||
|
Loading…
Reference in New Issue
Block a user