File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2
2
coverage
3
3
WebTest
4
4
django-webtest
5
+ flake8
Original file line number Diff line number Diff line change
1
+ [flake8]
2
+ ignore = E121, E125, E128
3
+ exclude = doc/*, encode/migrations/*
Original file line number Diff line number Diff line change 1
- # Copyright Collab 2013-2015
1
+ # Copyright Collab 2013-2016
2
+ # See LICENSE for details.
2
3
#
3
- # Tox (http ://tox.testrun.org/) is a tool for running tests
4
+ # Tox (https ://tox.testrun.org/) is a tool for running tests
4
5
# in multiple virtualenvs. This configuration file will run the
5
6
# test suite on the specified python versions. To use it, "pip install tox"
6
7
# and then run "tox" from this directory.
@@ -17,6 +18,7 @@ deps = Django
17
18
18
19
[testenv]
19
20
commands =
21
+ flake8
20
22
coverage run --source =. --rcfile ={toxinidir}/.coveragerc {envbindir}/django-admin.py test
21
23
coverage report --rcfile ={toxinidir}/.coveragerc --show-missing
22
24
setenv =
39
41
[testenv:coveralls]
40
42
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
41
43
commands =
42
- coverage run --source =. --rcfile ={toxinidir}/.coveragerc {envbindir}/django-admin.py test
43
- coverage report --rcfile ={toxinidir}/.coveragerc --show-missing
44
+ {[testenv]commands}
44
45
coveralls
45
46
deps =
46
47
coveralls
You can’t perform that action at this time.
0 commit comments