mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Add a flake8 environment to ensure pep8 compatibility.
This commit is contained in:
parent
16dec4d12d
commit
54543f1e8d
1 changed files with 12 additions and 3 deletions
15
tox.ini
15
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue