Code Review
/
optf
/
osdf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
update link to upper-constraints.txt
[optf/osdf.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
6dc85e0
..
0bd2d9e
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-4,6
+4,7
@@
skipsdist=True
envlist = py3, pylint, flake8diff
[testenv]
envlist = py3, pylint, flake8diff
[testenv]
+allowlist_externals=/bin/cp, /bin/bash, /bin/rm
distribute = False
basepython=python3
setenv =
distribute = False
basepython=python3
setenv =
@@
-26,7
+27,7
@@
deps = -r{toxinidir}/requirements.txt
source=./apps/,./osdf/,osdfapp.py,./runtime/,solverapp.py
[testenv:pylint]
source=./apps/,./osdf/,osdfapp.py,./runtime/,solverapp.py
[testenv:pylint]
-
white
list_externals=bash
+
allow
list_externals=bash
commands = bash -c "pylint --reports=y osdf apps runtime| tee pylint.out"
[testenv:py3]
commands = bash -c "pylint --reports=y osdf apps runtime| tee pylint.out"
[testenv:py3]
@@
-34,7
+35,7
@@
basepython=python3
[testenv:flake8diff]
basepython=python3
[testenv:flake8diff]
basepython=python3
-
white
list_externals=bash
+
allow
list_externals=bash
deps = hacking>=2.0.0
commands =
bash -c "files=$(git diff HEAD^ HEAD --diff-filter=d --name-only | grep -E '(^apps\/|osdf\/|runtime\/)'| grep -E '*\.py$'); if [[ -z $files ]]; then exit 0; else flake8 $files; fi"
deps = hacking>=2.0.0
commands =
bash -c "files=$(git diff HEAD^ HEAD --diff-filter=d --name-only | grep -E '(^apps\/|osdf\/|runtime\/)'| grep -E '*\.py$'); if [[ -z $files ]]; then exit 0; else flake8 $files; fi"
@@
-43,4
+44,4
@@
commands =
select = E,H,W,F
max-line-length = 119
ignore = W503 #conflict with W504
select = E,H,W,F
max-line-length = 119
ignore = W503 #conflict with W504
-per-file-ignores=
+per-file-ignores=
apps/pci/optimizers/__init__.py:F401