Merge "Fix spurious pylint import errors for ddt and mock"

This commit is contained in:
Zuul 2019-01-24 20:35:32 +00:00 committed by Gerrit Code Review
commit 7ed08ac895
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ set -eu
usage() {
echo "Usage: $0 [OPTION]..."
echo "Run Cinder's coding check(s)"
echo "Run Manila's coding check(s)"
echo ""
echo " -Y, --pylint [<basecommit>] Run pylint check on the entire manila module or just files changed in basecommit (e.g. HEAD~1)"
echo " -h, --help Print this usage message"

View File

@ -104,6 +104,7 @@ commands =
[testenv:pylint]
basepython = python3
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
pylint==2.1.1
whitelist_externals = bash
commands = bash ./tools/coding-checks.sh --pylint {posargs}