Project

General

Profile

Actions

Cleanup #51404

open

Cleanup #51379: mgr/volumes: add flake8 test

mgr/volumes/fs/operations/versions/subvolume_v1.py: fix various flake8 issues

Added by Varsha Rao almost 3 years ago. Updated 10 months ago.

Status:
Fix Under Review
Priority:
Normal
Category:
Code Hygiene
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
mgr/volumes
Labels (FS):
task(easy)
Pull request ID:

Description

src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:31:1: E302 expected 2 blank lines, found 1
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:57:9: F841 local variable 'me' is assigned to but never used
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:70:9: F841 local variable 'e' is assigned to but never used
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:91:9: F841 local variable 'oe' is assigned to but never used
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:144:9: F841 local variable 'oe' is assigned to but never used
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:346:32: E203 whitespace before ':'
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:452:17: E126 continuation line over-indented for hanging indent
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:459:17: E126 continuation line over-indented for hanging indent
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:482:26: E128 continuation line under-indented for visual indent
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:483:21: E122 continuation line missing indentation or outdented
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:484:17: E122 continuation line missing indentation or outdented
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:491:26: E128 continuation line under-indented for visual indent
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:492:21: E122 continuation line missing indentation or outdented
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:493:17: E122 continuation line missing indentation or outdented
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:522:26: E128 continuation line under-indented for visual indent
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:523:21: E122 continuation line missing indentation or outdented
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:524:17: E122 continuation line missing indentation or outdented
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:563:27: E126 continuation line over-indented for hanging indent
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:577:23: E261 at least two spaces before inline comment
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:631:23: E124 closing bracket does not match visual indentation
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:638:27: E203 whitespace before ':'
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:640:27: E203 whitespace before ':'
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:650:9: F841 local variable 'me' is assigned to but never used
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:659:20: E203 whitespace before ':'
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:724:39: E231 missing whitespace after ':'
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:724:65: E231 missing whitespace after ':'
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py:725:38: E231 missing whitespace after ':'

Actions #1

Updated by Manish Yathnalli 10 months ago

  • Status changed from New to In Progress
  • Assignee set to Manish Yathnalli
Actions #2

Updated by Manish Yathnalli 10 months ago

  • Status changed from In Progress to Fix Under Review
Actions

Also available in: Atom PDF