Actions
Bug #44645
closedcephfs-shell: Fix flake8 errors (E302, E502, E128, F821, W605, E128 and E122)
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
task(easy)
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
[root@localhost build]# flake8 --ignore=W503 --max-line-length=100 ../src/tools/cephfs/cephfs-shell ../src/tools/cephfs/cephfs-shell:67:1: E302 expected 2 blank lines, found 1 ../src/tools/cephfs/cephfs-shell:114:78: E502 the backslash is redundant between brackets ../src/tools/cephfs/cephfs-shell:121:1: E302 expected 2 blank lines, found 1 ../src/tools/cephfs/cephfs-shell:137:1: E302 expected 2 blank lines, found 1 ../src/tools/cephfs/cephfs-shell:1223:25: E128 continuation line under-indented for visual indent ../src/tools/cephfs/cephfs-shell:1357:30: F821 undefined name 'e' ../src/tools/cephfs/cephfs-shell:1402:57: W605 invalid escape sequence '\A' ../src/tools/cephfs/cephfs-shell:1404:25: E128 continuation line under-indented for visual indent ../src/tools/cephfs/cephfs-shell:1405:25: E128 continuation line under-indented for visual indent ../src/tools/cephfs/cephfs-shell:1406:25: E128 continuation line under-indented for visual indent ../src/tools/cephfs/cephfs-shell:1407:25: E122 continuation line missing indentation or outdented
Actions