Skip to content

Add type checking with MyPy to tests#601

Open
brianhelba wants to merge 3 commits into
joke2k:developfrom
brianhelba:mypy
Open

Add type checking with MyPy to tests#601
brianhelba wants to merge 3 commits into
joke2k:developfrom
brianhelba:mypy

Conversation

@brianhelba
Copy link
Copy Markdown
Contributor

@brianhelba brianhelba commented Feb 23, 2026

This also adds a py.typed file, which is mandatory to allow downstream packages to read any type information from this project: https://peps.python.org/pep-0561/

@brianhelba
Copy link
Copy Markdown
Contributor Author

This currently depends on changed from #602 in order for the new tests to pass cleanly. Assuming that's merged, I'll rebase this on top.

@coveralls
Copy link
Copy Markdown

coveralls commented Feb 23, 2026

Coverage Status

coverage: 96.914% (+0.005%) from 96.909%
when pulling 8798b85 on brianhelba:mypy
into 590f7f2 on joke2k:develop.

@brianhelba brianhelba force-pushed the mypy branch 2 times, most recently from cb990dd to 8798b85 Compare February 23, 2026 01:41
@joke2k
Copy link
Copy Markdown
Owner

joke2k commented Feb 26, 2026

Hi @brianhelba
I've merged the #602 , feel free to rebase this PR

@brianhelba brianhelba marked this pull request as ready for review February 27, 2026 04:46
@brianhelba
Copy link
Copy Markdown
Contributor Author

@joke2k Ready for review.

@brianhelba
Copy link
Copy Markdown
Contributor Author

@joke2k Ping. If there's interest in this, I'd be happy to help with getting broader typing support, so we can close python/typeshed#14573 .

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