[tox]
envlist = py36, py37, py37-flake8

[flake8]
max-line-length = 99

[testenv]
deps = -rrequirements-test.txt
       pip >= 18.0.1
commands = pytest

[testenv:py37-flake8]
deps = flake8
       pip >= 18.0.1
commands = flake8 aubreylib tests setup.py

[tox]
envlist = py36, py37, py37-flake8

[flake8]
max-line-length = 99

[testenv]
deps = -rrequirements-test.txt
       pip >= 18.0.1
commands = pytest

[testenv:py37-flake8]
deps = flake8
commands = flake8 aubreylib tests setup.py

Remove pip version for py37-flake8 env
Remove pip version for py37-flake8 env
