[tox] envlist = py3,pep8,pyflakes [testenv] allowlist_externals = find deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = find . -type f -name "*.pyc" -delete stestr run --slowest {posargs} [testenv:pep8] commands = flake8 [testenv:pyflakes] commands = flake8 [testenv:venv] commands = {posargs} [flake8] # E125 and H are intentionally ignored # W504 line break after binary operator ignore = E125,H,W504 show-source = True exclude = .venv,.tox,dist,doc,build,*.egg