Enable black and pylint in tox.ini
[osm/POL.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index ee801f6..87f7e21 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -27,14 +27,15 @@ basepython = python3.8
 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 @@ deps =  {[testenv]deps}
         -r{toxinidir}/requirements-test.txt
         pylint
 commands =
-    pylint -E osm_policy_module
+        - pylint -E osm_policy_module
 
 
 #######################################################################################
@@ -115,6 +116,7 @@ whitelist_externals = sh
 ignore =
         W291,
         W293,
+        W503,
         E123,
         E125,
         E226,