Actions
Bug #56994
closedmgr: fix flake8:missing whitespace after keyword for assert() & yield()
% Done:
0%
Source:
Tags:
quincy
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
cephfs-shell:149:14: E275 missing whitespace after keyword
cephfs-shell:152:10: E275 missing whitespace after keyword
ERROR: InvocationError for command /home/jenkins-build/build/workspace/ceph-pull-requests/src/tools/cephfs/shell/.tox/py3/bin/flake8 --ignore=W503 --max-line-length=100 cephfs-shell (exited with code 1)
___________________________ summary ____________________________
ERROR: py3: commands failed
Similar error were seen where assert & yield statements with parenthesis were used.
Solution: Removing parenthesis from assert & yield statements fixes the flake8 errors.
Updated by Avan Thakkar over 1 year ago
- Status changed from Fix Under Review to Resolved
Actions