Merge "Add H233 to pep8 check"
This commit is contained in:
commit
7f3955490d
|
@ -72,11 +72,11 @@ def check_dhcp_ip_rule(flows, dhcp_ip):
|
|||
|
||||
|
||||
def print_command(full_args, run_as_root=False):
|
||||
print '{}'.format(agent_utils.execute(
|
||||
print ('{}'.format(agent_utils.execute(
|
||||
full_args,
|
||||
run_as_root=run_as_root,
|
||||
process_input=None,
|
||||
))
|
||||
)))
|
||||
|
||||
|
||||
class OvsFlowsParser(object):
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -54,10 +54,9 @@ commands = sphinx-build -W -b html doc/source doc/build/html
|
|||
# H404 multi line docstring should start with a summary
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
# H904 Wrap long lines in parentheses instead of a backslash
|
||||
# H233 Python 3.x incompatible use of print operator
|
||||
# N342 String interpolation should be delayed at logging calls
|
||||
# N530 Direct neutron imports not allowed
|
||||
ignore = E126,E128,E129,E265,H301,H404,H405,H904,H233,N342,N530
|
||||
ignore = E126,E128,E129,E265,H301,H404,H405,H904,N342,N530
|
||||
show-source = true
|
||||
# TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron/tests/unit/vmware*
|
||||
|
|
Loading…
Reference in New Issue