Skip to content

Commit

Permalink
Only run pre-commit on python3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskuehl committed Sep 13, 2016
1 parent 35f4a25 commit 6d460b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ docker-image:
.PHONY: test
test:
tox
tox -e pre-commit

.PHONY: install-hooks
install-hooks:
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d460b3

Please sign in to comment.