Merge "Fix and enable gating on F811"
This commit is contained in:
@@ -585,15 +585,6 @@ class HTTPClient(object):
|
||||
def serialize(self, entity):
|
||||
return jsonutils.dumps(entity)
|
||||
|
||||
@property
|
||||
def service_catalog(self):
|
||||
"""Returns this client's service catalog."""
|
||||
return self.auth_ref.service_catalog
|
||||
|
||||
def has_service_catalog(self):
|
||||
"""Returns True if this client provides a service catalog."""
|
||||
return self.auth_ref.has_service_catalog()
|
||||
|
||||
def request(self, url, method, body=None, **kwargs):
|
||||
"""Send an http request with the specified characteristics.
|
||||
|
||||
|
3
tox.ini
3
tox.ini
@@ -27,9 +27,8 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
downloadcache = ~/cache/pip
|
||||
|
||||
[flake8]
|
||||
# F811: redefinition of unused 'client' from line 81
|
||||
# F821: undefined name
|
||||
# H304: no relative imports
|
||||
ignore = F811,F821,H304
|
||||
ignore = F821,H304
|
||||
show-source = True
|
||||
exclude = .venv,.tox,dist,doc,*egg,build
|
||||
|
Reference in New Issue
Block a user