ruff
[syntax-errors] Reimplement `break-outside-loop` (`F701`) as a semantic syntax error
#20556
Merged

[syntax-errors] Reimplement `break-outside-loop` (`F701`) as a semantic syntax error #20556

ntBre merged 12 commits into astral-sh:main from 11happy:F701
11happy
ntBre
ntBre commented on 2025-09-24
11happy feat: draft implementation for break outside loop
07b217c9
11happy refactor: add current_statement in checker
050fc326
11happy chore: clean up
131cd069
11happy 11happy force pushed from 2050b6c4 to 131cd069 1 year ago
github-actions
github-actions
11happy chore: remove previous snap
13a30219
11happy 11happy marked this pull request as ready for review 1 year ago
11happy 11happy requested a review from carljm carljm 1 year ago
11happy 11happy requested a review from AlexWaygood AlexWaygood 1 year ago
11happy 11happy requested a review from sharkdp sharkdp 1 year ago
11happy 11happy requested a review from dcreager dcreager 1 year ago
11happy 11happy requested a review from MichaReiser MichaReiser 1 year ago
11happy 11happy requested a review from dhruvmanila dhruvmanila 1 year ago
github-actions
ntBre
ntBre requested changes on 2025-10-06
11happy feat: correct implementation
c6e1c0f8
11happy test: re-enable F701
31720763
11happy chore: fix space
1d888621
11happy chore: remove unreferenced snapshot
69d8dc3c
ntBre revert a few whitespace changes
dfb6e0a8
ntBre move comment with function check
7289845f
ntBre cur_stmt -> child
f6eac23e
ntBre fix missing rule code comments
88f4b6f7
ntBre
ntBre approved these changes on 2025-10-13
ntBre ntBre enabled auto-merge (squash) 1 year ago
ntBre ntBre added internal
ntBre ntBre changed the title [syntax-errors]: break outside loop F701 [syntax-errors]: Reimplement `break-outside-loop` (`F701`) as a semantic syntax error 1 year ago
ntBre ntBre changed the title [syntax-errors]: Reimplement `break-outside-loop` (`F701`) as a semantic syntax error [syntax-errors] Reimplement `break-outside-loop` (`F701`) as a semantic syntax error 1 year ago
ntBre ntBre merged 2b729b4d into main 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone