Bug 1672370
| Summary: | flake8 fail: code over-indentation | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Carlos Goncalves <cgoncalves> |
| Component: | openstack-octavia | Assignee: | Carlos Goncalves <cgoncalves> |
| Status: | CLOSED ERRATA | QA Contact: | Alexander Stafeyev <astafeye> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 13.0 (Queens) | CC: | bcafarel, ihrachys, lpeer, majopela |
| Target Milestone: | z5 | Keywords: | AutomationBlocker, Triaged, ZStream |
| Target Release: | 13.0 (Queens) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-octavia-2.0.3-2.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-03-14 13:33:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:0567 |
The new pycodestyle 2.5.0 enforces E117 which checks for over-indented code. pep8 runtests: commands[0] | flake8 ./octavia/tests/unit/network/drivers/neutron/test_base.py:78:17: E126 continuation line over-indented for hanging indent 'port': { ^ ./octavia/tests/unit/common/test_validations.py:277:18: E126 continuation line over-indented for hanging indent 'octavia.common.utils.get_network_driver') as net_mock: ^ ./octavia/tests/functional/api/v2/test_listener.py:1218:28: E126 continuation line over-indented for hanging indent listener_id=listener_id + "/stats")) ^ ./octavia/tests/functional/api/v2/test_listener.py:1316:32: E126 continuation line over-indented for hanging indent listener_id=li['id'] + "/stats"), status=403) ^ ./octavia/amphorae/backends/agent/api_server/listener.py:200:29: E126 continuation line over-indented for hanging indent amphora_nsname=consts.AMPHORA_NAMESPACE, ^