Skip to content

Use Pyrefly for type-coverage instead of pyright - #1910

Open
MarcoGorelli wants to merge 6 commits into
pandas-dev:mainfrom
MarcoGorelli:pyrefly-coverage-new
Open

Use Pyrefly for type-coverage instead of pyright#1910
MarcoGorelli wants to merge 6 commits into
pandas-dev:mainfrom
MarcoGorelli:pyrefly-coverage-new

Conversation

@MarcoGorelli

@MarcoGorelli MarcoGorelli commented Aug 20, 2026

Copy link
Copy Markdown
Member

This builds on #1883 and keeps @loicdiridollou as co-author

closes #1795

Comment on lines +54 to +55
- name: Verify type completeness using pyrefly
run: poetry run poe type_completeness

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this now takes 2 seconds in CI, so I think it's fine to run it alongside the other checks rather than in a separate job

@MarcoGorelli
MarcoGorelli marked this pull request as ready for review August 20, 2026 17:12

@loicdiridollou loicdiridollou 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.

One minor question, the rest looks great!

Comment thread pyproject.toml Outdated
"pyright>=1.1.410",
"ty>=0.0.67",
"pyrefly>=1.1.0",
"pyrefly (>=1.2.0)",

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.

Shouldn’t we keep the same format as the other specifications for this section? Like “pyrefly>=1.2.0”

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yup thanks!

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_completeness checks are timing out

2 participants