Merge "Add H233 to pep8 check"

This commit is contained in:
Jenkins 2017-02-13 06:32:18 +00:00 committed by Gerrit Code Review
commit 7f3955490d
2 changed files with 3 additions and 4 deletions

View File

@ -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):

View File

@ -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*