ruff
[syntax-errors] `return` outside function
#17300
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
9
Changes
View On
GitHub
[syntax-errors] `return` outside function
#17300
ntBre
merged 9 commits into
main
from
brent/syn-return-outside-function
[syntax-errors] `yield`, `yield from`, and `await` outside functions
0956ec9f
update existing tests
3cc131b8
only allow `await` in notebooks, not all three kinds
5e9ec108
[syntax-errors] `return` outside function
c31cdb03
update existing tests
4978ba8f
ntBre
added
rule
catch return statements without values
9327c8f1
ntBre
marked this pull request as ready for review
259 days ago
ntBre
requested a review
from
MichaReiser
259 days ago
ntBre
requested a review
from
dhruvmanila
259 days ago
dhruvmanila
commented on 2025-04-08
dhruvmanila
approved these changes on 2025-04-08
MichaReiser
approved these changes on 2025-04-09
Base automatically changed from
brent/syn-yield-outside-function
to
main
256 days ago
Merge branch 'main' into brent/syn-return-outside-function
ee7debb1
revert unrelated snapshots, move to linter tests
3aff8816
ntBre
requested a review
from
dhruvmanila
256 days ago
ntBre
requested a review
from
MichaReiser
256 days ago
MichaReiser
approved these changes on 2025-04-11
dhruvmanila
approved these changes on 2025-04-11
ruff format test file and update snap
96181612
ntBre
enabled auto-merge (squash)
256 days ago
ntBre
merged
da32a83c
into main
256 days ago
ntBre
deleted the brent/syn-return-outside-function branch
256 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
dhruvmanila
MichaReiser
Assignees
No one assigned
Labels
rule
Milestone
No milestone
Login to write a write a comment.
Login via GitHub