-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Added typing annotations to transforms/autoaugment #4226
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
Conversation
FYI: I removed the ignore from mypy.ini locally and the checks are all passing on my end now 👌 |
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.
😄 Let's go with the JIT logic as pmeier suggested.
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! I have only one minor comment, otherwise good to merge once CI passes
before merging, we should please remove this file from mypy's ignore list so that the CI can check it as mentioned in #2025 (comment) |
Correct, but I thought we could merge #4236 before (otherwise we're gonna get conflicts about the mypy.ini on all related PRs), then I'll merge master and edit on this branch (+ the edit suggested by @fmassa ) |
That sounds good to me, as long as we don't forget the CI :) |
Hey @datumbox! You merged this PR, but no labels were added. |
Summary: * style: Added typing annotations * style: Fixed typing * style: Fixed typing * Remove unnecessary any. * Update mypy.ini Reviewed By: NicolasHug Differential Revision: D30417197 fbshipit-source-id: c801be04c456b4ec6c7794b9b1c89a79fe8773c6 Co-authored-by: Francisco Massa <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]> Co-authored-by: Vasilis Vryniotis <[email protected]>
Following up on #2025, this PR adds missing typing annotations in transforms/autoaugment.py.
Any feedback is welcome!