-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Set allow_redefinition = True for mypy #4531
Conversation
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!
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.
Changing status, since mypy
complains in a few cases: https://app.circleci.com/pipelines/github/pytorch/vision/10955/workflows/c429be0a-5801-4fc3-b218-ac32096e5cf5/jobs/840748
This would heavily help #4220 |
If anyone is keen on fixing the mypy errors, please feel free to go ahead :) |
Will do tomorrow |
Summary: * Allow redefinition for mypy * appease mypy Reviewed By: NicolasHug Differential Revision: D31505572 fbshipit-source-id: 718742dccd5e4d087ac3f9ec5f9a0b71ba91313c Co-authored-by: Philip Meier <github.pmeier@posteo.de>
* Allow redefinition for mypy * appease mypy Co-authored-by: Philip Meier <github.pmeier@posteo.de>
* Allow redefinition for mypy * appease mypy Co-authored-by: Philip Meier <github.pmeier@posteo.de>
This will hopefully help avoid making mypy too unhappy with basic stuff like #4527 (comment)