python-dependency-injector/tox.ini

63 lines
1.2 KiB
INI
Raw Normal View History

2015-03-17 17:21:34 +03:00
[tox]
2015-03-18 15:50:45 +03:00
envlist=
2016-01-25 16:05:25 +03:00
coveralls, pylint, flake8, pep257, py26, py27, py33, py34, py35, pypy, pypy3
2015-03-17 17:21:34 +03:00
2015-03-18 01:38:54 +03:00
[testenv]
deps=
unittest2
2015-10-12 17:52:30 +03:00
commands=
unit2 discover tests []
2015-03-18 01:38:54 +03:00
2015-03-18 15:50:45 +03:00
[testenv:dev]
basepython=python2.7
2015-03-18 15:50:45 +03:00
deps=
{[testenv]deps}
coverage
2015-10-12 17:52:30 +03:00
flake8
pep257
2015-03-18 01:38:54 +03:00
commands=
coverage erase
coverage run --rcfile=./.coveragerc -m unittest2 discover tests []
2015-03-18 15:50:45 +03:00
coverage html --rcfile=./.coveragerc
2015-10-12 17:52:30 +03:00
flake8 --max-complexity=8 dependency_injector/
flake8 --max-complexity=8 examples/
pep257 dependency_injector/
pep257 examples/
2015-03-18 15:50:45 +03:00
[testenv:coveralls]
basepython=python2.7
2015-07-21 09:42:21 +03:00
passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
2015-03-18 15:50:45 +03:00
deps=
{[testenv]deps}
coverage
2015-03-18 01:38:54 +03:00
coveralls
2015-03-18 15:50:45 +03:00
commands=
2015-03-18 01:38:54 +03:00
coverage erase
2015-03-18 15:50:45 +03:00
coverage run --rcfile=./.coveragerc -m unittest2 discover tests []
2015-07-21 09:48:50 +03:00
coveralls
2015-03-18 15:50:45 +03:00
[testenv:pylint]
basepython=python2.7
deps=
pylint
commands=
2015-08-31 16:31:38 +03:00
- pylint -f colorized --rcfile=./.pylintrc dependency_injector
[testenv:flake8]
basepython=python2.7
deps=
flake8
commands=
2015-08-31 16:31:38 +03:00
flake8 --max-complexity=8 dependency_injector/
2015-10-12 17:52:30 +03:00
flake8 --max-complexity=8 examples/
[testenv:pep257]
basepython=python2.7
deps=
pep257
commands=
2015-08-31 16:31:38 +03:00
pep257 dependency_injector/
2015-10-11 23:41:55 +03:00
pep257 examples/