ruff
[syntax-errors] `return` outside function
#17300
Merged

[syntax-errors] `return` outside function #17300

ntBre merged 9 commits into main from brent/syn-return-outside-function
ntBre
ntBre [syntax-errors] `yield`, `yield from`, and `await` outside functions
0956ec9f
ntBre update existing tests
3cc131b8
ntBre only allow `await` in notebooks, not all three kinds
5e9ec108
ntBre [syntax-errors] `return` outside function
c31cdb03
ntBre update existing tests
4978ba8f
ntBre ntBre added rule
ntBre catch return statements without values
9327c8f1
github-actions
ntBre ntBre marked this pull request as ready for review 259 days ago
ntBre ntBre requested a review from MichaReiser MichaReiser 259 days ago
ntBre ntBre requested a review from dhruvmanila dhruvmanila 259 days ago
dhruvmanila
dhruvmanila commented on 2025-04-08
dhruvmanila
dhruvmanila approved these changes on 2025-04-08
MichaReiser
MichaReiser approved these changes on 2025-04-09
Base automatically changed from brent/syn-yield-outside-function to main 256 days ago
ntBre Merge branch 'main' into brent/syn-return-outside-function
ee7debb1
ntBre revert unrelated snapshots, move to linter tests
3aff8816
ntBre
ntBre ntBre requested a review from dhruvmanila dhruvmanila 256 days ago
ntBre ntBre requested a review from MichaReiser MichaReiser 256 days ago
MichaReiser
MichaReiser approved these changes on 2025-04-11
dhruvmanila
dhruvmanila approved these changes on 2025-04-11
ntBre ruff format test file and update snap
96181612
ntBre ntBre enabled auto-merge (squash) 256 days ago
ntBre ntBre merged da32a83c into main 256 days ago
ntBre ntBre deleted the brent/syn-return-outside-function branch 256 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone