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 option to pass JAVA_OPTIONS
[releng/global-jjb.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
bcde1a5
..
54b2761
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-6,8
+6,9
@@
envlist =
jjb,
jjb-compare-xml,
jjb-latest,
jjb,
jjb-compare-xml,
jjb-latest,
- jjb-version
- license
+ jjb-version,
+ license,
+ pre-commit
skipsdist = true
passenv = TOX_WORK_DIR
toxworkdir = {env:TOX_WORK_DIR:/tmp/v}
skipsdist = true
passenv = TOX_WORK_DIR
toxworkdir = {env:TOX_WORK_DIR:/tmp/v}
@@
-63,6
+64,11
@@
commands = python {toxinidir}/check_jjb_version.py
deps = lftools
commands = lftools license check-dir -r '.+' shell
deps = lftools
commands = lftools license check-dir -r '.+' shell
+[testenv:pre-commit]
+deps = pre-commit
+commands =
+ pre-commit run --all-files
+
#########
# Tools #
#########
#########
# Tools #
#########