Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add pre-commit hook for trailing-whitespace
[releng/global-jjb.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
2d4d91e
..
c5578f7
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-1,8
+1,14
@@
[tox]
minversion = 1.6
[tox]
minversion = 1.6
-envlist = coala,jjb,jjb-compare-xml,license
+envlist = c
heck-hooks,c
oala,jjb,jjb-compare-xml,license
skipsdist = true
skipsdist = true
+[testenv:check-hooks]
+deps = pre-commit
+commands =
+ pre-commit install
+ pre-commit run --all-files
+
[testenv:coala]
basepython = python3
deps =
[testenv:coala]
basepython = python3
deps =