Enable black and pylint in tox.ini
Change-Id: I1571ce8b1a32aa67be1ada2864233c6f5ce9616b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/tox.ini b/tox.ini
index ee801f6..87f7e21 100644
--- a/tox.ini
+++ b/tox.ini
@@ -27,14 +27,15 @@
setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1
deps = -r{toxinidir}/requirements.txt
+parallel_show_output = true
#######################################################################################
[testenv:black]
deps = black
skip_install = true
commands =
- - black --check --diff osm_policy_module/
- - black --check --diff setup.py
+ black --check --diff osm_policy_module/
+ black --check --diff setup.py
#######################################################################################
@@ -66,7 +67,7 @@
-r{toxinidir}/requirements-test.txt
pylint
commands =
- pylint -E osm_policy_module
+ - pylint -E osm_policy_module
#######################################################################################
@@ -115,6 +116,7 @@
ignore =
W291,
W293,
+ W503,
E123,
E125,
E226,