[tox]
envlist = py27,py35,py36,pypy
tox_pip_extensions_ext_venv_update = true

[testenv]
deps = -rrequirements-dev.txt
passenv = HOME SSH_AUTH_SOCK USER
commands =
    coverage erase
    coverage run -m pytest {posargs:tests}
    coverage report --fail-under 100
    pre-commit install -f --install-hooks
    pre-commit run --all-files

[testenv:venv]
basepython = /usr/bin/python3.6
envdir = venv
commands =

[flake8]
max-line-length = 119

[pep8]
ignore = E265,E501

[tox]
envlist = py27,py35,py36,pypy
tox_pip_extensions_ext_venv_update = true

[testenv]
deps = -rrequirements-dev.txt
passenv = HOME SSH_AUTH_SOCK USER
commands =
    coverage erase
    coverage run -m pytest {posargs:tests}
    coverage report --fail-under 100
    pre-commit install -f --install-hooks
    pre-commit run --all-files

[testenv:venv]
basepython = /usr/bin/python3.6
envdir = venv
commands =

[flake8]
max-line-length = 119

[pep8]
ignore = E265,E501,W504

Add W504 to ignored autopep8 rules
Add W504 to ignored autopep8 rules

Committed via https://github.com/asottile/all-repos
