Show pyflakes quality violations (which can be programming errors) before pep8 (which is just style).

This commit is contained in:
hugovk 2014-07-01 16:25:24 +03:00
parent e220e597bf
commit 443cc908ae
2 changed files with 2 additions and 2 deletions

View File

@ -52,4 +52,4 @@ after_success:
# Coverage and quality reports on just the latest diff. # Coverage and quality reports on just the latest diff.
# (Installation is very slow on Py3, so just do it for Py2.) # (Installation is very slow on Py3, so just do it for Py2.)
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-install.sh; fi - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-install.sh; fi
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-report.sh; fi - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-run.sh; fi

View File

@ -1,4 +1,4 @@
coverage xml coverage xml
diff-cover coverage.xml diff-cover coverage.xml
diff-quality --violation=pep8
diff-quality --violation=pyflakes diff-quality --violation=pyflakes
diff-quality --violation=pep8