Merge "Correct failures for check H238"
This commit is contained in:
@@ -42,7 +42,7 @@ PKI_ASN1_FORM = 'PEM'
|
|||||||
|
|
||||||
# The openssl cms command exits with these status codes.
|
# The openssl cms command exits with these status codes.
|
||||||
# See https://www.openssl.org/docs/apps/cms.html#EXIT_CODES
|
# See https://www.openssl.org/docs/apps/cms.html#EXIT_CODES
|
||||||
class OpensslCmsExitStatus:
|
class OpensslCmsExitStatus(object):
|
||||||
SUCCESS = 0
|
SUCCESS = 0
|
||||||
INPUT_FILE_READ_ERROR = 2
|
INPUT_FILE_READ_ERROR = 2
|
||||||
CREATE_CMS_READ_MIME_ERROR = 3
|
CREATE_CMS_READ_MIME_ERROR = 3
|
||||||
|
@@ -342,7 +342,7 @@ LIST_OF_VERSIONS_TO_ATTEMPT = ['v2.0', 'v3.0']
|
|||||||
CACHE_KEY_TEMPLATE = 'tokens/%s'
|
CACHE_KEY_TEMPLATE = 'tokens/%s'
|
||||||
|
|
||||||
|
|
||||||
class BIND_MODE:
|
class BIND_MODE(object):
|
||||||
DISABLED = 'disabled'
|
DISABLED = 'disabled'
|
||||||
PERMISSIVE = 'permissive'
|
PERMISSIVE = 'permissive'
|
||||||
STRICT = 'strict'
|
STRICT = 'strict'
|
||||||
|
3
tox.ini
3
tox.ini
@@ -34,8 +34,7 @@ commands = oslo_debug_helper -t keystoneclient/tests {posargs}
|
|||||||
# H304: no relative imports
|
# H304: no relative imports
|
||||||
# H405: multi line docstring summary not separated with an empty line
|
# H405: multi line docstring summary not separated with an empty line
|
||||||
# E122: continuation line missing indentation or outdented
|
# E122: continuation line missing indentation or outdented
|
||||||
# New from hacking 0.10: H238
|
ignore = H304,H405,E122
|
||||||
ignore = H238,H304,H405,E122
|
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*
|
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user