Merge "Activate pep8 check that _ is imported"

This commit is contained in:
Jenkins 2015-10-08 23:26:29 +00:00 committed by Gerrit Code Review
commit 49a0dd770b
4 changed files with 4 additions and 1 deletions

View File

@ -37,6 +37,7 @@ from six.moves import range
from six.moves import urllib
from glance_store import exceptions
from glance_store.i18n import _
LOG = logging.getLogger(__name__)

View File

@ -27,6 +27,7 @@ from paste import deploy
from glance.version import version_info as version
from glance_store.common import utils
from glance_store.i18n import _
paste_deploy_opts = [
cfg.StrOpt('flavor',

View File

@ -28,6 +28,8 @@ except ImportError:
from oslo_utils import encodeutils
import six
from glance_store.i18n import _
LOG = logging.getLogger(__name__)

View File

@ -32,5 +32,4 @@ commands = {posargs}
# H404 multi line docstring should start with a summary
# H405 multi line docstring summary not separated with an empty line
ignore = H301,H404,H405
builtins = _
exclude = .venv,.git,.tox,dist,doc,etc,*glance_store/locale*,*openstack/common*,*lib/python*,*egg,build