-
Notifications
You must be signed in to change notification settings - Fork 95
Add typing #490
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 typing #490
Conversation
|
Looks good to me. Can you fix ruff? |
Signed-off-by: Stephen Finucane <[email protected]>
Run both check and format. Signed-off-by: Stephen Finucane <[email protected]>
This is now typed. Signed-off-by: Stephen Finucane <[email protected]>
Well, sort of. We immediately disable many of the strict checks for most modules, but doing things this way allows us to iteratively add types. Signed-off-by: Stephen Finucane <[email protected]>
Signed-off-by: Stephen Finucane <[email protected]>
Signed-off-by: Stephen Finucane <[email protected]>
|
@jelmer this should finally be good to be. I had to split linting into a separate job since mypy doesn't seem to work under pypy but that shouldn't be too controversial. |
|
@stephenfin Thanks! |
|
🙏 Could we get a release out at some point before the New Year with this included? I'd like to start benefiting from these hints in OpenStack land |
@stephenfin done! |
This is an alternative to #457. I have pushed it to a separate PR since the changes are fairly substantial, though authorship of commits is retained.