Bug 2225454

Summary: Flake complains about missing whitespace
Product: Red Hat OpenStack Reporter: Szymon Datko <sdatko>
Component: python-openstackclientAssignee: OSP Team <rhos-maint>
Status: NEW --- QA Contact: Nobody <nobody>
Severity: low Docs Contact:
Priority: urgent    
Version: 18.0 (Zed)CC: apevec, bshephar, jlibosva, jpichon, lhh, lsvaty, tkajinam
Target Milestone: AlphaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

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