diff options
author | yushao2 <36848472+yushao2@users.noreply.github.com> | 2021-12-04 02:32:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 19:32:52 +0100 |
commit | ef250da8ec64a26f4db6614531b0995778b5e983 (patch) | |
tree | 80939a2b2073e02957c9c82249741a6627be7b4c /doc | |
parent | 5bb0095aa122fd75108dc8049193b55b987ef224 (diff) | |
download | pylint-git-ef250da8ec64a26f4db6614531b0995778b5e983.tar.gz |
fix(4716): fix false positive `unnecessary_dict_index_lookup` emitted when `del` is used (#5344)
* fix(4716): fix false positive `unnecessary_dict_index_lookup` emitted
when `del` is used
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.13.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/whatsnew/2.13.rst b/doc/whatsnew/2.13.rst index 60099b67e..8222813d2 100644 --- a/doc/whatsnew/2.13.rst +++ b/doc/whatsnew/2.13.rst @@ -22,6 +22,15 @@ Extensions Other Changes ============= +* Fix ``unnecessary_dict_index_lookup`` false positive when deleting a dictionary's entry. + + Closes #4716 + +* Fix false negative for ``consider-iterating-dictionary`` during membership checks encapsulated in iterables + or ``not in`` checks + + Closes #5323 + * Require Python ``3.6.2`` to run pylint. Closes #5065 |