Project

General

Profile

Actions

Cleanup #40191

closed

cephfs-shell: Fix flake8 errors

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Code Hygiene
Target version:
% Done:

0%

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

Description

Fix the following errors:
  • E303 too many blank lines
  • E722 do not use bare 'except'
  • E501 line too long
  • F632 use ==/!= to compare str, bytes, and int literals
  • F841 local variable 'e' is assigned to but never used

Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #40217: nautilus: cephfs-shell: Fix flake8 errorsResolvedPatrick DonnellyActions
Actions #1

Updated by Varsha Rao almost 5 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 28433
Actions #2

Updated by Patrick Donnelly almost 5 years ago

  • Category set to Code Hygiene
  • Assignee set to Varsha Rao
  • Target version set to v15.0.0
  • Start date deleted (06/06/2019)
  • Backport set to nautilus
Actions #3

Updated by Patrick Donnelly almost 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler almost 5 years ago

  • Copied to Backport #40217: nautilus: cephfs-shell: Fix flake8 errors added
Actions #5

Updated by Nathan Cutler almost 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF