F823 goes silent when a name is assigned twice
F823 (undefined-name / read-before-assignment) misses a genuine read-before-assignment whenever the name is assigned more than once in the function, including the common augmented-assignment shape: a function containing two 'stuck += 1' lines under different branches passes cleanly, and removing either assignment makes the remaining one get flagged. Pyflakes flags the first binding correctly because it reads before anything binds locally, so this is a real false negative, not a style difference. If you rely on F823 for catching UnboundLocalError-prone code, double-check functions where a local is assigned in two branches; ruff 0.17.x misses these while flake8/pyflakes catches them. The same issue batch also covered F402 missing loop-variable shadowing under an if and B012 missing returns in else/except inside finally.