commit | cf102ffb1ef4a3b1de839f86f4f4a38c685b5ebc | [log] [tgz] |
---|---|---|
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | Sat May 04 22:07:38 2024 +0200 |
committer | GitHub <noreply@github.com> | Sat May 04 22:07:38 2024 +0200 |
tree | d38d29fdb247145c5662f1db8e4ac66fedc6b701 | |
parent | b8b9abd5ec5990af88c2315d7d6a1afaaac6b699 [diff] |
Fix a false positive for ``consider-using-dict-items`` (#9594) (#9597) When iterating ``os.environ`` using the ``os.environ.keys()`` operation and then deleting an item using the key as a lookup. Closes #9554 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>> (cherry picked from commit c864cd4d88e5b4e9b9bf1adc575b2fe5e1a194dd) Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>