From 07a2791259d05d758c4cc995100ed9eeb643018e Mon Sep 17 00:00:00 2001 From: Alexey Stepanov Date: Mon, 29 Aug 2016 08:18:10 +0300 Subject: [PATCH] Make coverage report human-readable request HTML lig in tox logdir, which is accessible on gates completely ignore migrations in pylint Change-Id: Icd3bb59844abe171c075b38accbbc1e8f222d435 --- .pylintrc | 2 +- .pylintrc_gerrit | 2 +- tox.ini | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 9e812550..3f676ce3 100644 --- a/.pylintrc +++ b/.pylintrc @@ -9,7 +9,7 @@ # Add files or directories to the blacklist. They should be base names, not # paths. -ignore=CVS, tox, logs +ignore=CVS, tox, logs, migrations # Pickle collected data for later comparisons. persistent=yes diff --git a/.pylintrc_gerrit b/.pylintrc_gerrit index 83674d12..5c45137e 100644 --- a/.pylintrc_gerrit +++ b/.pylintrc_gerrit @@ -9,7 +9,7 @@ # Add files or directories to the blacklist. They should be base names, not # paths. -ignore=CVS, tox, logs +ignore=CVS, tox, logs, migrations # Pickle collected data for later comparisons. persistent=yes diff --git a/tox.ini b/tox.ini index 8e49b412..dadc3be9 100644 --- a/tox.ini +++ b/tox.ini @@ -28,6 +28,7 @@ deps = -r{toxinidir}/test-requirements.txt commands = py.test --cov-config .coveragerc --cov-report html --cov=devops devops/tests + coverage html -d {envlogdir} coverage report --fail-under 80