diff --git a/tox.ini b/tox.ini index 73b3e2cf..6694aaff 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = check, tests -isolated_build = True +isolated_build = true labels = release = version, docs, publish dependencies = -e .[journald,pacman,s3,shell,stats,validator,web] @@ -27,7 +27,9 @@ description = Run common checks like linter, mypy, etc deps = {[tox]dependencies} -e .[check] +pip_pre = true setenv = + CFLAGS="-Wno-unterminated-string-initialization" MYPYPATH=src commands = autopep8 --exit-code --max-line-length 120 -aa -i -j 0 -r "src/{[tox]project_name}" "tests/{[tox]project_name}" @@ -65,7 +67,7 @@ description = Generate html documentation deps = {[tox]dependencies} -e .[docs] -recreate = True +recreate = true commands = sphinx-build -b html -a -j auto -W docs {envtmpdir}{/}html @@ -89,6 +91,7 @@ description = Run tests deps = {[tox]dependencies} -e .[tests] +pip_pre = true commands = pytest {posargs}