Skip to content

Conversation

@cdleonard
Copy link
Contributor

This adds typing annotations to the point that mypy passes with "disallow_untyped_calls=true".

Since python2 is no longer supported maybe this could be removed
entirely instead.

Signed-off-by: Leonard Crestez <[email protected]>
Raising an explicit exception instead of concatenating with None makes
type checkers happy.

Signed-off-by: Leonard Crestez <[email protected]>
This is slightly faster and helps type checkers

Signed-off-by: Leonard Crestez <[email protected]>
Signed-off-by: Leonard Crestez <[email protected]>
@konstruktoid
Copy link
Collaborator

thanks @cdleonard!

@konstruktoid konstruktoid merged commit 66c961f into pycontribs:main Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants