Enable pep8 E711/E712/E721/H302 checking
Change-Id: I229f1c15b46284fae94d4c786765baa18da0055f
This commit is contained in:
@@ -16,12 +16,8 @@
|
||||
import copy
|
||||
import logging
|
||||
import os
|
||||
import six
|
||||
import socket
|
||||
|
||||
from ceilometerclient.openstack.common.py3kcompat import urlutils
|
||||
from six.moves import http_client as httplib
|
||||
|
||||
try:
|
||||
import ssl
|
||||
except ImportError:
|
||||
@@ -33,8 +29,11 @@ try:
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
|
||||
import six
|
||||
from six.moves import http_client as httplib # noqa
|
||||
|
||||
from ceilometerclient import exc
|
||||
from ceilometerclient.openstack.common.py3kcompat import urlutils
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
@@ -17,12 +17,13 @@
|
||||
# under the License.
|
||||
|
||||
import copy
|
||||
|
||||
import six
|
||||
from six.moves import xrange # noqa
|
||||
import testtools
|
||||
|
||||
from ceilometerclient.tests import utils
|
||||
from ceilometerclient.v2 import alarms
|
||||
from six.moves import xrange
|
||||
|
||||
AN_ALARM = {u'alarm_actions': [u'http://site:8000/alarm'],
|
||||
u'ok_actions': [u'http://site:8000/ok'],
|
||||
|
||||
Reference in New Issue
Block a user