summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 3 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index f39c687..464f3a4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -70,13 +70,12 @@ deps =
commands =
doc8 docs/source/
-[testenv:mypy]
+[testenv:pre-commit]
basepython = python3
skip_install = true
-deps =
- mypy
+deps = pre-commit
commands =
- mypy src
+ pre-commit run --all-files --show-diff-on-failure
[testenv:bandit]
basepython = python3