Skip to content
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

Merged
merged 4 commits into from
Oct 5, 2021

Conversation

NicolasHug
Copy link
Member

This will hopefully help avoid making mypy too unhappy with basic stuff like #4527 (comment)

Copy link
Collaborator

@pmeier pmeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@pmeier pmeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oke-aditya
Copy link
Contributor

This would heavily help #4220

@NicolasHug
Copy link
Member Author

If anyone is keen on fixing the mypy errors, please feel free to go ahead :)

@pmeier
Copy link
Collaborator

pmeier commented Oct 4, 2021

Will do tomorrow

@NicolasHug NicolasHug merged commit 6aa0fa3 into pytorch:main Oct 5, 2021
facebook-github-bot pushed a commit that referenced this pull request Oct 8, 2021
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>
mszhanyi pushed a commit to mszhanyi/vision that referenced this pull request Oct 19, 2021
* Allow redefinition for mypy

* appease mypy

Co-authored-by: Philip Meier <github.pmeier@posteo.de>
cyyever pushed a commit to cyyever/vision that referenced this pull request Nov 16, 2021
* Allow redefinition for mypy

* appease mypy

Co-authored-by: Philip Meier <github.pmeier@posteo.de>
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.

4 participants