Skip to content

Conversation

NicolasHug
Copy link
Member

This fixes all outstanding flake8 issues that popped up after #4384 (#4384 (comment))

Most of it is just removing unused imports. I stayed conservative (i.e. keep the import with a # noqa) when I wasn't sure.

It also ignores the line-too-long errors from flake8: those are taken care of by black now anyway, but there can be minor conflicts in the case e.g. of https://github.com/pytorch/vision/blob/main/torchvision/models/detection/ssdlite.py#L21:L21, so we just keep flake8 quite and trust black in those cases.

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.

Some minor comments, otherwise LGTM!

@NicolasHug
Copy link
Member Author

The test_frozenbatchnorm2d_eps errors are unrelated and are tracked in #4506

@NicolasHug NicolasHug merged commit b81d189 into pytorch:main Oct 4, 2021
facebook-github-bot pushed a commit that referenced this pull request Oct 7, 2021
Reviewed By: kazhang

Differential Revision: D31387948

fbshipit-source-id: a2fb59c15a79dcf32654826e3b620a5e93584447
mszhanyi pushed a commit to mszhanyi/vision that referenced this pull request Oct 19, 2021
cyyever pushed a commit to cyyever/vision that referenced this pull request Nov 16, 2021
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.

3 participants