Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using precise code for pyright: ignore and re-enabling various pyright tests #12576

Merged
merged 5 commits into from
Aug 22, 2024

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Aug 21, 2024

A lot of these pyright ignores didn't have associated error code before, hence we had to use a blank suppression comment

I also re-enabled tests that used to fail on pyright, but now pass.

xref python/mypy#12358 for some tests that are still disabled

@Avasam Avasam marked this pull request as ready for review August 21, 2024 22:42
Copy link
Contributor

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

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@srittau srittau merged commit 3719f02 into python:main Aug 22, 2024
71 checks passed
@Avasam Avasam deleted the precise-pyright-ignores branch August 22, 2024 01:56
max-muoto pushed a commit to max-muoto/typeshed that referenced this pull request Sep 8, 2024
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.

3 participants