Revert : Switch off oslo.* namespace check temporarily

In I7033847bab82b6d3cd8f2bdb66c553fec93d7acb, we disabled
N333 to allow changes in flight to still mix up oslo_ and
oslo. based imports. We should revert the change and enforce
every review use just the oslo_ version from now on.

Change-Id: I1db83048c569bcdd62538cce9df076fc355f7b26
This commit is contained in:
Davanum Srinivas 2015-02-09 17:34:09 -05:00
parent 2d4c312109
commit 066cfa3352
8 changed files with 8 additions and 9 deletions

View File

@ -15,7 +15,7 @@
"""The hypervisors admin extension."""
from oslo.config import cfg
from oslo_config import cfg
import webob.exc
from nova.api.openstack import extensions

View File

@ -15,7 +15,7 @@
"""The hypervisors admin extension."""
from oslo.config import cfg
from oslo_config import cfg
import webob.exc
from nova.api.openstack import extensions

View File

@ -13,7 +13,7 @@
# under the License.
from oslo.utils import strutils
from oslo_utils import strutils
from nova.api.openstack.compute.schemas.v3 import preserve_ephemeral_rebuild
from nova.api.openstack import extensions

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from nova.compute import arch
from nova.compute import cpumodel

View File

@ -21,7 +21,7 @@ import functools
import inspect
import logging
from oslo.config import cfg
from oslo_config import cfg
import pkg_resources
import six

View File

@ -15,7 +15,7 @@
import copy
import mock
from oslo.config import cfg
from oslo_config import cfg
import webob
from nova.api.openstack.compute.contrib import os_tenant_networks as networks

View File

@ -17,7 +17,7 @@
import collections
import mock
from oslo.vmware import vim_util
from oslo_vmware import vim_util
from nova import test
from nova.tests.unit.virt.vmwareapi import fake

View File

@ -68,9 +68,8 @@ commands =
# The rest of the ignores are TODOs
# New from hacking 0.9: E129, E131, H407, H405
# E251 Skipped due to https://github.com/jcrocholl/pep8/issues/301
# N333 Skip the oslo.* namespace check temporarily
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405,N333
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools/xenserver*
# To get a list of functions that are more complex than 25, set max-complexity
# to 25 and run 'tox -epep8'.