mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-05-01 12:14:53 +00:00
Fix tox config.
This commit is contained in:
parent
8be47c0813
commit
61d162d376
1 changed files with 9 additions and 4 deletions
13
tox.ini
13
tox.ini
|
|
@ -19,6 +19,7 @@ basepython =
|
|||
pypy: pypy
|
||||
usedevelop = true
|
||||
deps =
|
||||
coverage
|
||||
django-discover-runner
|
||||
mock
|
||||
dj-database-url
|
||||
|
|
@ -32,15 +33,19 @@ deps =
|
|||
dj17: https://github.com/django/django/archive/stable/1.7.x.zip#egg=django
|
||||
dj18: https://github.com/django/django/archive/stable/1.8.x.zip#egg=django
|
||||
dj19: https://github.com/django/django/archive/master.zip#egg=django
|
||||
flake8: flake8
|
||||
coverage: coverage
|
||||
|
||||
commands =
|
||||
coverage run manage.py test -v2 {posargs:tests}
|
||||
coverage report
|
||||
|
||||
[testenv:flake8-py27]
|
||||
commands = flake8 configurations --ignore=E501,E127,E128,E124
|
||||
commands = flake8 configurations
|
||||
deps = flake8
|
||||
|
||||
[testenv:flake8-py33]
|
||||
commands = flake8 configurations --ignore=E501,E127,E128,E124
|
||||
commands = flake8 configurations
|
||||
deps = flake8
|
||||
|
||||
[flake8]
|
||||
exclude=.tox
|
||||
ignore=E501,E127,E128,E124
|
||||
|
|
|
|||
Loading…
Reference in a new issue