Remove flake8 ignore list in tox.ini

H703 doesn't exist in hacking>=0.10.2, so remove it.
Fix E126 violations and remove E126.

Change-Id: I727282e4e7f276318f3cdd50d885941ab8b4ff49
This commit is contained in:
ChangBo Guo(gcb) 2016-02-19 18:52:36 +08:00
parent 14507498c8
commit 54d58a7758
2 changed files with 14 additions and 15 deletions

View File

@ -23,19 +23,19 @@ __all__ = [
]
_profiler_opt_group = cfg.OptGroup(
"profiler",
title="OpenStack cross-service profiling",
help="""
"profiler",
title="OpenStack cross-service profiling",
help="""
OSprofiler library allows to trace requests going through various OpenStack
services and create the accumulated report of what time was spent on each
request processing step.""")
_enabled_opt = cfg.BoolOpt(
"enabled",
default=False,
deprecated_group="profiler",
deprecated_name="profiler_enabled",
help="""
"enabled",
default=False,
deprecated_group="profiler",
deprecated_name="profiler_enabled",
help="""
Enables the profiling for all services on this node. Default value is False
(fully disable the profiling feature).
@ -48,9 +48,9 @@ will be empty.
""")
_trace_sqlalchemy_opt = cfg.BoolOpt(
"trace_sqlalchemy",
default=False,
help="""
"trace_sqlalchemy",
default=False,
help="""
Enables SQL requests profiling in services. Default value is False (SQL
requests won't be traced).
@ -64,9 +64,9 @@ way.
""")
_hmac_keys_opt = cfg.StrOpt(
"hmac_keys",
default="SECRET_KEY",
help="""
"hmac_keys",
default="SECRET_KEY",
help="""
Secret key(s) to use for encrypting context data for performance profiling.
This string value should have the following format: <key1>[,<key2>,...<keyn>],
where each key is some random string. A user who triggers the profiling via

View File

@ -31,7 +31,6 @@ changedir = doc/source
commands = make html
[flake8]
ignore = E126,H703
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,setup.py