Project

General

Profile

Actions

Cleanup #39717

closed

cephfs-shell: Fix flake8 warnings and errors

Added by Varsha Rao almost 5 years ago. Updated almost 5 years ago.

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

0%

Tags:
Backport:
nautilus
Reviewed:
Affected Versions:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:

Description

Flake8 generates following warning and errors:
  • E722 do not use bare 'except'
  • E303 too many blank lines
  • W605 invalid escape sequence '\/'
  • F841 local variable 'flag' is assigned to but never used
  • E201 whitespace after '('

Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #40471: nautilus: cephfs-shell: Fix flake8 warnings and errorsResolvedPatrick DonnellyActions
Actions

Also available in: Atom PDF