diff --git a/Makefile b/Makefile index 0b66483..e493654 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,7 @@ docker-image: .PHONY: test test: tox + tox -e pre-commit .PHONY: install-hooks install-hooks: diff --git a/tox.ini b/tox.ini index d9d13ca..55b98ab 100644 --- a/tox.ini +++ b/tox.ini @@ -6,10 +6,10 @@ deps = -r{toxinidir}/requirements-dev.txt passenv = HOME SSH_AUTH_SOCK USER commands = python -m pytest - pre-commit run --all-files [testenv:pre-commit] -commands = pre-commit {posargs} +basepython = /usr/bin/python3.5 +commands = pre-commit {posargs:run --all-files} [flake8] max-line-length = 119