1[tox] 2minversion = 1.4.2 3envlist = linters 4skipsdist = True 5 6[testenv] 7deps = -r{toxinidir}/requirements.txt 8 -r{toxinidir}/test-requirements.txt 9 10[testenv:black] 11install_command = pip install {opts} {packages} 12commands = 13 black -v -l79 {toxinidir} 14 15[testenv:linters] 16install_command = pip install {opts} {packages} 17commands = 18 black -v -l79 --check {toxinidir} 19 flake8 {posargs} 20 21[testenv:venv] 22commands = {posargs} 23 24[flake8] 25# E123, E125 skipped as they are invalid PEP-8. 26 27show-source = True 28ignore = E123,E125,E402,E501,E741,W503 29max-line-length = 160 30builtins = _ 31exclude = .git,.tox,tests/unit/compat/ 32