diff --git a/tox.ini b/tox.ini index 45261b2f0..3b4fadeaf 100644 --- a/tox.ini +++ b/tox.ini @@ -19,8 +19,12 @@ sitepackages = True downloadcache = ~/cache/pip [testenv:pep8] +# E712 comparison to False should be 'if cond is False:' or 'if not cond:' +# query = query.filter(Component.disabled == False) +# E125 continuation line does not distinguish itself from next logical line + commands = - pep8 --repeat --show-source --ignore=E125 --exclude=.venv,.tox,dist,doc,openstack,*egg . + pep8 --repeat --show-source --ignore=E125,E712 --exclude=.venv,.tox,dist,doc,openstack,*egg . pep8 --repeat --show-source --ignore=E125 --filename=quantum* bin [testenv:i18n]