You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yumasheta
changed the title
False-positive of unused-private-member with class name
False-positive of unused-private-member with class reference
Aug 15, 2021
Bug description
Consider the following code snippet:
Configuration
No response
Command used
Pylint output
Expected behavior
Calling a private static method only on
cls
(reference to class) in a classmethod produces false positive:unused-private-member
.#4782 recently fixed some issues regarding the usage of private members on the class name. This one seems to have slipped through.
Thanks.
Pylint version
The text was updated successfully, but these errors were encountered: