Switch to Pyrefly for type checking instead of mypy

オープン
#1,399 コメント 6 件 リアクション 0 件 担当者 1 名 GitHub で見る

@rosspeili がすでに取り組んでいます。

2026年7月24日 から。

  • #1433 @rosspeili による — オープン

評価

この issue はまだ評価されていません。

説明

a: health a: python e: experienced
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?
  1. Use Pyrefly's facility for creating a configuration based on an existing mypy configuration
  2. Run Pyrefly to find and fix whatever problems it flags
  3. Add a Pyrefly hook configuration to .pre-commit-config.yaml
  4. Replace the type check in CI with a Pyrefly-based one
How urgent is this for you?

P2 – needed within two quarters

主要言語
Python
スター
1.7k
フォーク
438
平均マージ
53分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quantumlib/OpenFermion のほかの issue

quantumlib/OpenFermion の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。