Skip to content

Add a separate error code for top level await#14801

Merged
JelleZijlstra merged 1 commit intomasterfrom
issue-14763
Feb 28, 2023
Merged

Add a separate error code for top level await#14801
JelleZijlstra merged 1 commit intomasterfrom
issue-14763

Conversation

@sobolevn
Copy link
Copy Markdown
Member

Now users can disable the first kind of error, but not the second kind (which is always a syntax error).

Refs #14486
Closes #14763

@sobolevn sobolevn requested a review from ilevkivskyi February 28, 2023 09:13
@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit 494802f into master Feb 28, 2023
@JelleZijlstra JelleZijlstra deleted the issue-14763 branch February 28, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mypy 1.0.0 does not include error code for "await" outside function so it cannot be ignored when linting notebooks

2 participants