From 972e08471b4e28edadce0451ed7f4f5dfa4ff48c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Feb 16 2017 21:38:27 +0000 Subject: Run diff-quality in tox too This checks the pylint score of the diff, failing if it's under 9 (I hope? Might have to change 90 to 9). Signed-off-by: Adam Williamson --- diff --git a/tox.ini b/tox.ini index 1aeadcb..e04420c 100644 --- a/tox.ini +++ b/tox.ini @@ -7,5 +7,6 @@ deps=-r{toxinidir}/install.requires -r{toxinidir}/tox.requires commands=pytest --cov-report term-missing --cov-report xml --cov resultsdb_conventions diff-cover coverage.xml --fail-under=80 + diff-quality --violations=pylint --fail-under=90 setenv = PYTHONPATH = {toxinidir} diff --git a/tox.requires b/tox.requires index c7e277f..8445976 100644 --- a/tox.requires +++ b/tox.requires @@ -1,4 +1,5 @@ coverage diff-cover +pylint pytest-cov setuptools_git