[tox]
minversion = 1.6
envlist =
- docs,
- docs-linkcheck
+ docs,
+ docs-linkcheck,
+ coala,
skipsdist = true
+passenv = TOX_WORK_DIR
+toxworkdir = {env:TOX_WORK_DIR:/tmp/v}
[testenv:docs]
deps = -rdocs/requirements.txt
[testenv:docs-linkcheck]
deps = -rdocs/requirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+
+[testenv:coala]
+basepython = python3
+install_command = python -m pip install --no-cache-dir {opts} {packages}
+whitelist_externals = rm
+deps =
+ coala
+ coala-bears
+ pygments~=2.3.1
+ requests~=2.21.0
+commands =
+ rm -rf src/use_cases/seba_on_arm/src_repo/
+ coala --non-interactive