Repository navigation
Add mypy, pyrefly, and ty type checking - #10
Merged
Merged
Conversation
Adds a typecheck dependency group and just recipes that run mypy (with the pydantic plugin, plus a strict pass over src), pyrefly, and ty over the package and both test suites. Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
The typecheck recipes run in an isolated environment for the Python version from .python-version or --python, and pass that version to each checker. `just typecheck` and `just typecheck-mypy` run all their checks before failing. Adds .python-version and a tests dependency group. Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
chrisjkuch
force-pushed
the
add-typechecking
branch
from
November 18, 2026 06:59
e6b9ed0 to
fc62d4d
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds typechecking without fixing any of the typechecking errors.
typecheckdependency group with mypy, pyrefly, and ty, included indevjust typecheck, which runstypecheck-mypy,typecheck-pyrefly, andtypecheck-ty, and fails at the end if any of them failedsrc/,tests/, andintegration_tests/check_untyped_defs, then runs a second pass with--strictonsrc/--python, defaulting to.python-version, which they also pass to each checker as the target version.python-versionand thetestsdependency group from Commit uv.lock and run tests against the installed package #9; whichever PR merges second has small conflicts injustfileandpyproject.tomland needsuv lockjust checkyet, because existing errors would fail themsrc/149, pyrefly 13, ty 30Type checker output (Python 3.14)
mypy
mypy
--strict srcpyrefly
ty
Assisted by Claude Code