diff options
author | yushao2 <36848472+yushao2@users.noreply.github.com> | 2021-09-15 01:26:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 19:26:44 +0200 |
commit | 272596b80c8f9cb6ddb6e3f893298f20242a9c32 (patch) | |
tree | 9455f789eda9e34611ece1455787e1e9cfff5433 /doc | |
parent | af407c73064c1a9cb3cce5f056fa1e26c9e7b540 (diff) | |
download | pylint-git-272596b80c8f9cb6ddb6e3f893298f20242a9c32.tar.gz |
Fix false positive ``unused-private-member`` for accessing attributes in a class using ``cls`` (#4965)
* Fix false positive ``unused-private-member`` for accessing attributes in
a class using ``cls``
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.11.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/whatsnew/2.11.rst b/doc/whatsnew/2.11.rst index 0a239025f..f04020796 100644 --- a/doc/whatsnew/2.11.rst +++ b/doc/whatsnew/2.11.rst @@ -70,6 +70,10 @@ Other Changes Closes #4907 +* Fix false positive ``unused-private-member`` for accessing attributes in a class using ``cls`` + + Closes #4849 + * Extended ``consider-using-in`` check to work for attribute access. * Setting ``min-similarity-lines`` to 0 now makes the similarty checker stop checking for duplicate code |