-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Switch from mypy to Pyrefly #8182
Copy link
Copy link
Open
Labels
kind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt itemsno QC knowledge neededWant to contribute to Cirq, but don't know quantum computing? This issue is for you.Want to contribute to Cirq, but don't know quantum computing? This issue is for you.triage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on
Description
Activity
Metadata
Metadata
Assignees
Labels
kind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt itemsno QC knowledge neededWant to contribute to Cirq, but don't know quantum computing? This issue is for you.Want to contribute to Cirq, but don't know quantum computing? This issue is for you.triage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on
Is your feature request related to a use case or problem?
A number of other projects are switching from mypy to Pyrefly for type checking Python code. We should do the same for Quantumlib projects if possible. Pyrefly is much faster than mypy and has better IDE support.
What solution or approach do you envision?
check/typecheckscript (initially a copy ofcheck/mypy) to replacecheck/mypy. Deprecatecheck/mypyso developers have an opportunity to switch.How urgent is this for you?
P2 – needed within two quarters