Project

General

Profile

Bug #56994

mgr: fix flake8:missing whitespace after keyword for assert() & yield()

Added by Avan Thakkar 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
testing
Target version:
-
% Done:

0%

Source:
Tags:
quincy
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

History

#1 Updated by Avan Thakkar 6 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF