diff --git a/tox.ini b/tox.ini index daf4a22..012e890 100644 --- a/tox.ini +++ b/tox.ini @@ -1,48 +1,48 @@ [tox] envlist = flake8,bashate,isort,py36 skipsdist=true [testenv] setenv = PYWIKIBOT_NO_USER_CONFIG = 1 # Since pywikibot fallback to the user home directory: HOME={envdir} PYTHONPATH={toxinidir}/integraality deps = -r{toxinidir}/requirements.txt -r{toxinidir}/requirements-dev.txt commands = pytest --cov --cov-config=setup.cfg -vvv --showlocals {posargs} whitelist_externals = bash [testenv:flake8] deps = flake8==3.7.7 commands = flake8 [testenv:bashate] -deps = bashate==0.5.1 +deps = bashate==0.6.0 commands = bash -c "grep --recursive --binary-files=without-match \ --files-with-match '^.!.*\(ba\)\?sh$' \ --exclude-dir .tox \ --exclude-dir .git \ --exclude-dir .venv \ {toxinidir} | xargs bashate --error . --verbose --ignore=E006" [testenv:isort] deps = isort==4.3.20 commands = bash -c "find {toxinidir} \ -type d \ \( \ -path {toxinidir}/.git -o \ -path {toxinidir}/.tox -o \ -path {toxinidir}/.venv \ \) -prune -o \ -name '*.py' \ -print | xargs isort {posargs:--check-only} --verbose" [flake8] exclude = .venv,.tox,.git