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 typings to project compatible with python 3.10 + run unit tests in CI #15

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jacobdr
Copy link
Contributor

@jacobdr jacobdr commented Nov 7, 2022

This PR adds mypy type checking to all of our internal code -- whereas #8 added typing for our external code

I used pretty modern type syntax, therefore this PR now requires project developers (and our release machinery) to use Python 3.10 specifically (though really we could support 3.10+, I wanted to KISS for now)

@jacobdr jacobdr changed the title Add mypy typings to project compatible with python 3.10 Add mypy typings to project compatible with python 3.10 + run unit tests in CI Nov 7, 2022
@samwillis
Copy link
Owner

Happy to be tied to 3.10 for now and add these typings. All looks good, once the conflicts are fixed will merge.

@samwillis
Copy link
Owner

We should update 'DEVELOPMENT.md' to note the minimum python version.

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