Cleanup #51379
mgr/volumes: add flake8 test
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
44%
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
mgr/volumes
Labels (FS):
task(easy)
Pull request ID:
Subtasks
History
#1 Updated by Varsha Rao almost 3 years ago
Before fixing these issues, make sure you have flake8 installed. You have read PEP 8 style guide1 and flake8 guide2.
Fix only the issues reported by
flake8 --ignore=E501,W503 src/pybind/mgr/volumes
Flake8 version used: 3.8.3 (mccabe: 0.6.1, pycodestyle: 2.6.0, pyflakes: 2.2.0) CPython 3.9.5 on Linux
If there any extra issues reported other than the ones mentioned in sub-tasks. Please add a comment about them and flake8 version used.
After fixing the issue, run flake8 again on the same file to ensure your patch does not introduce any new errors.
[1] https://www.python.org/dev/peps/pep-0008/
[2] https://flake8.pycqa.org/en/latest/user/index.html
#2 Updated by Patrick Donnelly over 1 year ago
- Target version deleted (
v17.0.0)