Skip to content
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

Add mypy & type annotations. #37

Merged
merged 8 commits into from
Jul 14, 2024
Merged

Conversation

PeterJCLaw
Copy link
Collaborator

@PeterJCLaw PeterJCLaw commented Jan 8, 2024

This adds almost complete type annotation coverage. The remaining items are nodb_cursor which isn't trivial to type and doesn't get a lot of value from being typed and the FactoryStrategy which I believe is incomplete anyway.

@PeterJCLaw PeterJCLaw force-pushed the type-annotations branch 5 times, most recently from be46108 to 824915d Compare January 8, 2024 22:26
This is fairly light on config and doesn't attempt to add any
type checking just yet, but does get mypy running in CI and passing.
@PeterJCLaw PeterJCLaw force-pushed the type-annotations branch 3 times, most recently from e94f64d to d6e6c14 Compare July 1, 2024 20:07
@PeterJCLaw PeterJCLaw marked this pull request as ready for review July 1, 2024 20:13
@PeterJCLaw PeterJCLaw requested a review from danpalmer July 1, 2024 20:13
@PeterJCLaw PeterJCLaw mentioned this pull request Jul 13, 2024
Copy link
Owner

@danpalmer danpalmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, thanks, sorry for the late review!

@danpalmer danpalmer merged commit 51b01c9 into danpalmer:main Jul 14, 2024
21 checks passed
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.

2 participants