Jinja 2 templates: stylize block comments like C block comments
[deliverable/barectf.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 5cfe94aa6a8fe2c1dd053e13917a97e7cac2b67b..9ffd60ef4fb33c83d8e2f863d9e19c7c08f9e6b5 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,41 +1,33 @@
 [tox]
-minversion = 1.9
+minversion = 3.3
+isolated_build = true
 envlist = tests
 skipsdist = True
-toxworkdir = {env:TOXWORKDIR:.tox}
 
 [testenv]
-setenv =
-       PYTHONPATH = {env:PYTHONPATH:}
-deps = -r{toxinidir}/requirements.txt
-       -r{toxinidir}/test-requirements.txt
-usedevelop = true
-whitelist_externals = bash
+whitelist_externals = poetry
+passenv = TERM TERMINFO
 
 [testenv:tests]
 changedir = tests
-commands = bash ./test.bash -t
+commands =
+    poetry install -v
+    poetry run bash ./test.bash -t
 
-[testenv:pep8]
-commands = flake8
+[testenv:flake8]
+deps = flake8 >= 2.5
+commands = flake8 barectf
 
 [flake8]
 # E123, E125 skipped as they are invalid PEP-8.
 # also ignore E501 because barectf has very long lines
-
 show-source = True
 ignore = E123,E125,E501
 builtins = _
-exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
-
-[testenv:pylint-errors]
-deps = pylint >= 1.6
-commands = pylint -f colorized -E barectf
-
-[testenv:pylint-warnings]
-deps = pylint >= 1.6
-commands = pylint -f colorized -d all -e W -r n barectf
+exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py
 
-[testenv:pylint-full]
+[testenv:pylint]
 deps = pylint >= 1.6
-commands = pylint -f colorized --disable=all -e R,E,W barectf
+commands =
+    poetry install -v
+    poetry run pylint -f colorized -d all -e E,W -d W0212,W1618,W0622,W0201,W0703 barectf
This page took 0.022769 seconds and 4 git commands to generate.