Skip to content

Conversation

@jorenham
Copy link
Member

@jorenham jorenham commented Oct 1, 2025

@jorenham jorenham added this to the 1.16.2.1 milestone Oct 1, 2025
@github-actions
Copy link

github-actions bot commented Oct 1, 2025

mypy_primer results

No ecosystem changes detected ✅

@jorenham jorenham requested a review from Copilot October 1, 2025 17:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces preliminary support for the Pyrefly type checker by adding Pyrefly-specific type ignore comments throughout the codebase and configuring the necessary tooling. Pyrefly is Facebook's new type checker currently in alpha.

  • Added Pyrefly configuration in pyproject.toml with sub-configurations for different file patterns
  • Integrated Pyrefly into the CI/CD pipeline (tox, GitHub Actions, lefthook)
  • Added type ignore comments for Pyrefly-specific errors across test files and stub files

Reviewed Changes

Copilot reviewed 33 out of 34 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pyproject.toml Added Pyrefly dependency and configuration settings
lefthook.yml Added Pyrefly pre-commit hook
.github/workflows/ci.yml Integrated Pyrefly checks into CI pipeline
README.md Updated documentation to mention Pyrefly support
CONTRIBUTING.md Updated example output to include Pyrefly
Multiple test files Added # pyrefly: ignore comments for various error types
Multiple stub files Added Pyrefly ignore comments for override and type alias issues

@jorenham jorenham merged commit 8aa9601 into master Oct 1, 2025
22 checks passed
@jorenham jorenham deleted the pyrefly branch October 2, 2025 14:54
@jorenham jorenham linked an issue Oct 2, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

consider supporting pyrefly

2 participants