ruff
[`pyflakes`] Avoid removing the `format` call when it would change behavior (`F523`)
#25320
Merged

[`pyflakes`] Avoid removing the `format` call when it would change behavior (`F523`) #25320

ntBre merged 7 commits into astral-sh:main from adityasingh2400:fix-15557
adityasingh2400
astral-sh-bot astral-sh-bot assigned ntBre ntBre 175 days ago
astral-sh-bot astral-sh-bot requested a review from ntBre ntBre 175 days ago
astral-sh-bot
ntBre
ntBre requested changes on 2026-05-22
adityasingh2400 [`pyflakes`] Implement the ideal `F523` fix when the `.format` call h…
0c706a01
adityasingh2400 adityasingh2400 force pushed from 99d4014d to 0c706a01 175 days ago
adityasingh2400
ntBre
ntBre commented on 2026-05-27
adityasingh2400 Keep the .format call when the string contains braces
ba568266
ntBre add failing mdtests
02d8d795
ntBre Merge branch 'main' into fix-15557
ef17fd2d
ntBre update mdtest results
131267e7
ntBre simplify comments and remove unnecessary FormatSummary argument
62f2e101
ntBre revert other test changes
10746c69
ntBre
ntBre approved these changes on 2026-05-29
ntBre ntBre added bug
ntBre ntBre added fixes
codspeed
ntBre ntBre changed the title [`pyflakes`] Mark `F523` fix as unsafe when it removes a meaningful `.format(...)` call [`pyflakes`] Avoid removing the `format` call when it would change behavior (`F523`) 168 days ago
ntBre ntBre merged 49882fa3 into main 168 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
Labels
Milestone