Bug 2225454 - Flake complains about missing whitespace
Summary: Flake complains about missing whitespace
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-openstackclient
Version: 18.0 (Zed)
Hardware: Unspecified
OS: Unspecified
urgent
low
Target Milestone: Alpha
: ---
Assignee: OSP Team
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-25 10:58 UTC by Szymon Datko
Modified: 2023-08-02 12:02 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 887812 0 None MERGED Fix pep issue in the network service provider 2023-07-31 14:25:41 UTC
Red Hat Issue Tracker OSP-26884 0 None None None 2023-07-25 11:00:00 UTC

Description Szymon Datko 2023-07-25 10:58:14 UTC
Hello,

we observe a failure in PEP8 job executed as part of Component CI for OSP 18

```
2023-07-19 23:26:38.070833 | container | pep8 run-test: commands[0] | flake8
2023-07-19 23:26:38.070841 | container | setting PATH=/home/zuul/src/code.engineering.redhat.com/python-openstackclient/.tox/pep8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-07-19 23:26:38.070933 | container | [1114] /home/zuul/src/code.engineering.redhat.com/python-openstackclient$ /home/zuul/src/code.engineering.redhat.com/python-openstackclient/.tox/pep8/bin/flake8
2023-07-19 23:26:43.519637 | container | ./openstackclient/network/v2/network_service_provider.py:40:15: E275 missing whitespace after keyword
2023-07-19 23:26:43.519730 | container |         return(column_headers,
2023-07-19 23:26:43.519745 | container |               ^
2023-07-19 23:26:43.553304 | container | ERROR: InvocationError for command /home/zuul/src/code.engineering.redhat.com/python-openstackclient/.tox/pep8/bin/flake8 (exited with code 1)
```

You can use this change for debugging the issue:
https://code.engineering.redhat.com/gerrit/c/python-openstackclient/+/445368

Yours,
Szymon

Comment 1 Brendan Shephard 2023-07-25 22:25:24 UTC
This is fixed upstream. Which branch are we building OSP18 stuff from?
https://opendev.org/openstack/python-openstackclient/commit/fc80188e5f053ec0e909ce64461864d7e4709ea7


Note You need to log in before you can comment on or make changes to this bug.