Skip to content

Add type checking with mypy - #284

Merged
quis merged 4 commits into
mainfrom
add-mypy
Sep 21, 2026
Merged

quis merged 4 commits into
mainfrom
add-mypy

Conversation

@quis

@quis quis commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Add the dependencies and Make commands per the our other repos.

Config needs to be in mypy.ini because we haven’t moved this repo to use pyproject.toml yet.

Running mypy gives:

Found 6 errors in 2 files (checked 6 source files)


This PR fixes those errors, then turns on type checking in CI so more can’t get introduced.

Add the dependencies and Make commands per the our other repos.

Config needs to be in `mypy.ini` because we haven’t moved this repo
to use `pyproject.toml` yet.

Running `mypy` gives:
> Found 6 errors in 2 files (checked 6 source files)

These won’t block CI and can be fixed in followup PRs.
@risicle

risicle commented Sep 21, 2026

Copy link
Copy Markdown
Member

That iterator method is wild - just looks for anything that looks like a uuid.

@quis
quis merged commit 87781f6 into main Sep 21, 2026
2 checks passed
@quis
quis deleted the add-mypy branch September 21, 2026 16:29
@risicle

risicle commented Sep 22, 2026

Copy link
Copy Markdown
Member

This could probably do with a point release.

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.

3 participants