Pylint specific errors and the messages #223
aujjwal-redhat
started this conversation in
General
Replies: 2 comments
-
What to do with this?We can remove the specific pylint issues locally from the .pylintrc file and run pylint: pylint -j 4 --rcfile=.pylintrc redant_libs/
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Converting to a discussion as it is ingrained now to follow pylint. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Errors & Messages:
E1101:
'%s %r has no %r member%s'
https://pycodequ.al/docs/pylint-messages/e1101-no-member.html
In our code
E1101: ❌
Instance of 'VolumeOps' has no 'rlog' member (no-member)
E0401: ❌
Unable to import 'redant_libs.support_libs.rexe' (import-error)
R0801: ❌
Similar lines in 5 files
R0903: ❌
Too few public methods (0/2) (too-few-public-methods)
C0103: ❌
Variable name "f" doesn't conform to snake_case naming style (invalid-name)
W0703: ❌
Catching too general exception Exception (broad-except)
R0902: ❌
Too many instance attributes (12/7) (too-many-instance-attributes)
Regerating the errors locally :
Beta Was this translation helpful? Give feedback.
All reactions