Merge "Fix "F821 undefined name 'unicode' error when run tox pep8"

This commit is contained in:
Zuul 2018-02-26 02:51:29 +00:00 committed by Gerrit Code Review
commit 68c0c9d0f1

View File

@ -37,3 +37,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
ignore = E125 ignore = E125
show-source = true show-source = true
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
# F821 undefined name 'unicode'
# if isinstance(config, str) or isinstance(config, unicode):
builtins = unicode