Skip to content

Migrate type checking to Pyrefly - #353

Open
d4l3k wants to merge 1 commit into
mainfrom
d4l3k/pyrefly
Open

d4l3k wants to merge 1 commit into
mainfrom
d4l3k/pyrefly

Conversation

@d4l3k

@d4l3k d4l3k commented Aug 28, 2026

Copy link
Copy Markdown
Member

Replace Pyre configuration and lint integration with Pyrefly 1.2.0, remove obsolete directives, and resolve reported typing issues.

Test plan:

  • pyrefly check --config pyrefly.toml
  • lintrunner --skip PYREFLY,FLAKE --all-files
  • lintrunner --take PYREFLY --all-files
  • cargo +nightly fmt --check
  • cargo test -v
  • pytest -v --reruns 3 --reruns-delay 5 (150 passed, 59 skipped; one Gloo timeout failed, isolated rerun passed)
  • maturin build --release

Replace Pyre configuration and lint integration with Pyrefly 1.2.0, remove obsolete directives, and resolve reported typing issues.

Test plan:
- pyrefly check --config pyrefly.toml
- lintrunner --skip PYREFLY,FLAKE --all-files
- lintrunner --take PYREFLY --all-files
- cargo +nightly fmt --check
- cargo test -v
- pytest -v --reruns 3 --reruns-delay 5
- maturin build --release
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 28, 2026
@meta-codesync

meta-codesync Bot commented Aug 28, 2026

Copy link
Copy Markdown

This pull request has been imported. If you are a Meta employee, you can view this in D117807028. (Because this pull request was imported automatically, there will not be any future comments.)

@maggiemoss maggiemoss left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants