diff --git a/kuryr/controllers.py b/kuryr/controllers.py index b5eacb60..018587b0 100644 --- a/kuryr/controllers.py +++ b/kuryr/controllers.py @@ -54,8 +54,7 @@ else: def check_for_neutron_ext_support(): - """Validates for mandatory extension support availability in neutron. - """ + """Validates for mandatory extension support availability in neutron.""" try: app.neutron.show_extension(MANDATORY_NEUTRON_EXTENSION) except n_exceptions.NeutronClientException as e: diff --git a/kuryr/tests/test_join.py b/kuryr/tests/test_join.py index e2cca787..d29190c7 100644 --- a/kuryr/tests/test_join.py +++ b/kuryr/tests/test_join.py @@ -28,8 +28,7 @@ from kuryr import utils @ddt.ddt class TestKuryrJoinFailures(base.TestKuryrFailures): - """Unit tests for the failures for binding a Neutron port to an interface. - """ + """Unit tests for the failures for binding a Neutron port.""" def _invoke_join_request(self, docker_network_id, docker_endpoint_id, container_id): data = { diff --git a/kuryr/tests/test_leave.py b/kuryr/tests/test_leave.py index 03553501..19312d5c 100644 --- a/kuryr/tests/test_leave.py +++ b/kuryr/tests/test_leave.py @@ -28,8 +28,7 @@ from kuryr import utils @ddt.ddt class TestKuryrLeaveFailures(base.TestKuryrFailures): - """Unit tests for the failures for unbinding a Neutron port. - """ + """Unit tests for the failures for unbinding a Neutron port.""" def _invoke_leave_request(self, docker_network_id, docker_endpoint_id): data = { diff --git a/tox.ini b/tox.ini index d7a14ff4..c0953669 100644 --- a/tox.ini +++ b/tox.ini @@ -37,10 +37,8 @@ commands = python setup.py build_sphinx # H305 imports not grouped correctly # H307 like imports should be grouped together # H402 one line docstring needs punctuation -# 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 -ignore = E125,E126,E128,E129,E265,H301,H305,H307,H402,H404,H405,H904 +ignore = E125,E126,E128,E129,E265,H301,H305,H307,H402,H904 show-source = true # TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack