ruff
[`pyflakes`] Mark `F504`/`F522`/`F523` autofix as unsafe if there's a call with side effect
#18839
Merged

[`pyflakes`] Mark `F504`/`F522`/`F523` autofix as unsafe if there's a call with side effect #18839

MichaReiser merged 6 commits into astral-sh:main from LaBatata101:fix-F504
LaBatata101
LaBatata101 [`pyflakes`] Mark `F504`/`F522`/`F523` autofix as unsafe if there's a…
faa076d1
LaBatata101 Update docs
7eff2b1a
dscorbett
dscorbett commented on 2025-06-20
github-actions
LaBatata101 Use `contains_effect`
63ec1807
LaBatata101 LaBatata101 requested a review from MichaReiser MichaReiser 170 days ago
LaBatata101 LaBatata101 changed the title [`pyflakes`] Mark `F504`/`F522`/`F523` autofix as unsafe if there's a call expression in the format part [`pyflakes`] Mark `F504`/`F522`/`F523` autofix as unsafe if there's a call with side effect 170 days ago
MichaReiser MichaReiser removed review request from MichaReiser MichaReiser 170 days ago
MichaReiser
MichaReiser commented on 2025-06-25
MichaReiser
MichaReiser commented on 2025-06-25
MichaReiser Docs
8efb731a
MichaReiser
MichaReiser commented on 2025-06-25
MichaReiser
MichaReiser commented on 2025-06-25
LaBatata101 Only mark fix as unsafe if the unused argument has a side effect
93fc2b19
LaBatata101 LaBatata101 requested a review from MichaReiser MichaReiser 169 days ago
MichaReiser MichaReiser added fixes
MichaReiser Simplify side effect checks
aad1ee5b
MichaReiser
MichaReiser approved these changes on 2025-06-26
MichaReiser MichaReiser enabled auto-merge (squash) 169 days ago
MichaReiser MichaReiser merged 2362263d into main 169 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone