Skip to content

Improve typing support #939

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Improve typing support #939

wants to merge 23 commits into from

Conversation

cdleonard
Copy link

@cdleonard cdleonard commented Jul 8, 2025

Multiple Changes:

  • Add mypy to the git workflow "lint" step
  • Add mypy and types-* packages to pyproject.toml
  • Remove compat imports for "unittest2" and "mock" which are long obsolete
  • Fix a great number of typing errors

Currently at <30 typing errors.

Let me know if you want this to actually reach zero mypy errors. Alternatively I can split this PR into smaller changes instead.

@cdleonard
Copy link
Author

Failure seems transient, unrelated to my change

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.

1 participant