Enable E123 and E125 pep8 checks
Change-Id: I87d62c21a528bdc63421d035bb3f7645cd92e979
This commit is contained in:
parent
2ea27b1b2a
commit
b39f23c665
|
@ -205,7 +205,7 @@ def _create_files_configmap(service_dir, service_name, configs):
|
|||
if configs:
|
||||
for filename, f in configs.items():
|
||||
with open(os.path.join(
|
||||
service_dir, "files", f["content"]), "r") as f:
|
||||
service_dir, "files", f["content"]), "r") as f:
|
||||
data[filename] = f.read()
|
||||
data["placeholder"] = ""
|
||||
template = templates.serialize_configmap(configmap_name, data)
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -29,10 +29,9 @@ commands = python setup.py build_sphinx
|
|||
commands = oslo_debug_helper {posargs}
|
||||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
# H102 skipped as it's a non-free project
|
||||
|
||||
show-source = True
|
||||
ignore = E123,E125,H102
|
||||
ignore = H102
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
|
|
Loading…
Reference in New Issue