diff options
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ minversion = 1.6 skipsdist = True skip_missing_interpreters = True -envlist = py310,py39,py38,py37,flake8,black,twine-check,mypy,isort,cz,pylint +envlist = py310,py39,py38,py37,flake8,black,twine-check,mypy,isort,cz,pylint,pre-commit [testenv] passenv = @@ -123,3 +123,8 @@ commands = [testenv:smoke] deps = -r{toxinidir}/requirements-test.txt commands = pytest tests/smoke {posargs} + +[testenv:pre-commit] +skip_install = true +deps = -r requirements-precommit.txt +commands = pre-commit run --all-files --show-diff-on-failure |
