tox: Use --ignore=tests for pep8/pyflakes/mccabe.

This commit is contained in:
Florian Bruhin 2015-06-20 19:48:40 +02:00
parent f2d7391974
commit d02b63a847

View File

@ -96,7 +96,7 @@ deps =
pytest-flakes==1.0.0
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m py.test -q --flakes -m flakes
{envpython} -m py.test -q --flakes --ignore=tests
[testenv:pep8]
deps =
@ -107,7 +107,7 @@ deps =
pytest-pep8==1.0.6
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m py.test -q --pep8 -m pep8
{envpython} -m py.test -q --pep8 --ignore=tests
[testenv:mccabe]
deps =
@ -118,7 +118,7 @@ deps =
pytest-mccabe==0.1
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m py.test -q --mccabe -m mccabe
{envpython} -m py.test -q --mccabe --ignore=tests
[testenv:pyroma]
skip_install = true