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

11
tox.ini
View File

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