-
Notifications
You must be signed in to change notification settings - Fork 969
MAHOUT-652: Add mypy for static type checking and lock file checking #654
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
MAHOUT-652: Add mypy for static type checking and lock file checking #654
Conversation
Added mypy static type checking to pre-commit hooks.
Signed-off-by: ryankert01 <ryan980053@gmail.com>
|
@guan404ming @rich7420 @400Ping PTAL, I think we can first make to to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, left some comments
| name: ruff formatting | ||
| files: \.py$ | ||
|
|
||
| # Static type checking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of comments seems redundant please help remove them, thanks!
Also let's use the newest version https://github.com/pre-commit/mirrors-mypy/releases/tag/v1.19.0
|
We usually prefix the pr title with issue number for main branch related dev, please help update it, thanks! |
|
it's "MAHOUT-XXX: " |
Signed-off-by: ryankert01 <ryan980053@gmail.com>
guan404ming
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the quick update!
Added mypy static type checking to pre-commit hooks.
Purpose of PR
Add mypy for static type checking and lock file checking
Related Issues or PRs
Closes #652
Changes Made
Breaking Changes
Checklist