projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace yaml.load by yaml.safe_load
[osm/NBI.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
929119a
..
39aa70d
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-32,8
+32,8
@@
deps = -r{toxinidir}/requirements.txt
deps = black
skip_install = true
commands =
deps = black
skip_install = true
commands =
-
-
black --check --diff osm_nbi/
-
-
black --check --diff setup.py
+ black --check --diff osm_nbi/
+ black --check --diff setup.py
#######################################################################################
#######################################################################################
@@
-48,14
+48,14
@@
commands =
coverage report --omit='*tests*'
coverage html -d ./cover --omit='*tests*'
coverage xml -o coverage.xml --omit=*tests*
coverage report --omit='*tests*'
coverage html -d ./cover --omit='*tests*'
coverage xml -o coverage.xml --omit=*tests*
-
white
list_externals = sh
+
allow
list_externals = sh
#######################################################################################
[testenv:flake8]
deps = flake8
commands =
#######################################################################################
[testenv:flake8]
deps = flake8
commands =
-
-
flake8 osm_nbi/ setup.py
+ flake8 osm_nbi/ setup.py
#######################################################################################
#######################################################################################
@@
-65,7
+65,7
@@
deps = {[testenv]deps}
-r{toxinidir}/requirements-test.txt
pylint
commands =
-r{toxinidir}/requirements-test.txt
pylint
commands =
-
-
pylint -E osm_nbi
+
pylint -E osm_nbi
#######################################################################################
#######################################################################################
@@
-117,8
+117,10
@@
ignore =
W503,
E123,
E125,
W503,
E123,
E125,
+ E203,
E226,
E226,
- E241
+ E241,
+ E501
exclude =
.git,
__pycache__,
exclude =
.git,
__pycache__,