[flake8-simplify] Fix false negatives for shadowed bindings (SIM910, SIM911) by LaBatata101 · Pull Request #18794 · astral-sh/ruff (original) (raw)

@LaBatata101

@ntBre added the bug

Something isn't working

label

Jun 20, 2025

@ntBre ntBre changed the title[flake8-simplify] Fix false positives in SIM910 and SIM911 if variable is named dict [flake8-simplify] Fix false negatives for shadowed bindings (SIM910 , SIM911)

Jun 20, 2025

@ntBre ntBre changed the title[flake8-simplify] Fix false negatives for shadowed bindings (SIM910 , SIM911) [flake8-simplify] Fix false negatives for shadowed bindings (SIM910, SIM911)

Jun 20, 2025

dcreager added a commit that referenced this pull request

Jun 20, 2025

@dcreager

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})