Add a flake8 environment to ensure pep8 compatibility.

This commit is contained in:
Lucas Wiman 2018-07-02 11:43:38 -07:00
parent 16dec4d12d
commit 54543f1e8d

15
tox.ini
View file

@ -4,6 +4,7 @@ envlist =
py34-django{18,19,110,111,200}
py35-django{18,19,110,111,200,trunk}
py36-django{111,200,trunk}
flake8
[testenv]
deps =
@ -19,10 +20,18 @@ deps =
ignore_outcome =
djangotrunk: True
passenv =
CI
TRAVIS
TRAVIS_*
CI
TRAVIS
TRAVIS_*
commands =
pip install -e .
py.test {posargs}
[testenv:flake8]
basepython =
python3.6
deps =
flake8
commands =
flake8 model_utils tests