Skip to content

Adopt pinned pyrefly typechecking alongside mypy - #85

Merged
acul71 merged 1 commit into
masterfrom
adopt-pyrefly-84
Nov 20, 2026
Merged

acul71 merged 1 commit into
masterfrom
adopt-pyrefly-84

Conversation

@acul71

@acul71 acul71 commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add pyrefly==1.5.0 to dev extras with [tool.pyrefly] scoped to multihash (exclude spec/ and tests)
  • Wire pyrefly-local pre-commit hook and update make typecheck to run mypy and pyrefly
  • Remove redundant namedtuple field annotations that triggered pyrefly bad-override; narrow legacy __new__ func None case

Closes #84.

Test plan

  • make lint
  • make typecheck (mypy + pyrefly)
  • make test (505 passed)
  • make docs-ci
  • CI tox matrix green

Made with Cursor

Wire pyrefly==1.5.0 into dev extras, pre-commit, and make typecheck so
contributor tooling matches sister multiformats Python repos (Closes #84).

Co-authored-by: Cursor <cursoragent@cursor.com>
@acul71
acul71 merged commit 4a03ded into master Nov 20, 2026
21 checks passed
@acul71
acul71 deleted the adopt-pyrefly-84 branch November 20, 2026 01:35
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.

Adopt pyrefly typechecking alongside mypy (tooling parity)

1 participant