Skip to content

Run Pyrefly on typeshed stubs in CI - #16155

Merged
JelleZijlstra merged 4 commits into
python:mainfrom
yangdanny97:pyrefly
Aug 7, 2026
Merged

Run Pyrefly on typeshed stubs in CI#16155
JelleZijlstra merged 4 commits into
python:mainfrom
yangdanny97:pyrefly

Conversation

@yangdanny97

@yangdanny97 yangdanny97 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

fixes #16000

There are ~30 unknown-name errors caused by 2 known issues

facebook/pyrefly#4410
facebook/pyrefly#4411

Those should be fixed by the full 1.3.0 release

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

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

@yangdanny97
yangdanny97 marked this pull request as ready for review August 7, 2026 03:16
Comment thread stdlib/argparse.pyi
Comment thread stdlib/pydoc.pyi

@JelleZijlstra JelleZijlstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! I feel the places where pyrefly raises an error but other type checkers don't indicate two bugs in pyrefly; are you tracking those?

@JelleZijlstra

Copy link
Copy Markdown
Member

Sorry I should have read the PR description, you already mentioned it!

@JelleZijlstra
JelleZijlstra merged commit e0efbee into python:main Aug 7, 2026
127 checks passed
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.

Test stubs with pyrefly in CI

2 participants