Merge "Move pylint checks to pep8 testenv"

This commit is contained in:
Jenkins 2015-03-16 20:28:04 +00:00 committed by Gerrit Code Review
commit ec5cfefc89
1 changed files with 4 additions and 7 deletions

11
tox.ini
View File

@ -44,9 +44,13 @@ sitepackages = True
downloadcache = ~/cache/pip
[testenv:pep8]
deps =
{[testenv]deps}
pylint
commands =
sh ./tools/check_bash.sh
flake8
pylint --rcfile=.pylintrc --output-format=colorized {posargs:neutron_lbaas}
#neutron-db-manage check_migration
#sh -c "find neutron_lbaas -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
whitelist_externals = sh
@ -78,13 +82,6 @@ show-source = true
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios
[testenv:pylint]
deps =
{[testenv]deps}
pylint
commands =
pylint --rcfile=.pylintrc --output-format=colorized {posargs:neutron_lbaas}
[hacking]
import_exceptions = neutron.i18n
local-check-factory = neutron.hacking.checks.factory