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

upgrade flake8 #6678

Merged
merged 2 commits into from Oct 3, 2022
Merged

upgrade flake8 #6678

merged 2 commits into from Oct 3, 2022

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Oct 3, 2022

Our current version

rev: 3.9.2

is quite outdated. Yesterdays release of importlib-metadata==5.0.0 breaks flake8==3.9.2 since it uses a now removed functionality.

Instead of upgrading flake8, we could also pin importlib-metadata and stick with our old flake8 version, but I see no point. LMK if you think different.

@pmeier
Copy link
Collaborator Author

pmeier commented Oct 3, 2022

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Thanks @pmeier !

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

CI job in question: https://app.circleci.com/pipelines/github/pytorch/vision/20764/workflows/9f8c7f23-34ef-4b66-a47c-e363601ee629/jobs/1689172

Failing job for ref: https://app.circleci.com/pipelines/github/pytorch/vision/20761/workflows/8956edb3-9cc1-482c-a34f-1b7dda56fcd5/jobs/1689015

Thanks Philip. We tend to ignore linter jobs internally so I think it shouldn't cause any issue to bump flake8 (and since the lint job is passing there shouldn't be any unexpected linting change anyway).

@NicolasHug NicolasHug merged commit 07ae61b into pytorch:main Oct 3, 2022
@pmeier pmeier deleted the upgrade-flake8 branch October 3, 2022 09:24
@github-actions
Copy link

github-actions bot commented Oct 3, 2022

Hey @NicolasHug!

You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

facebook-github-bot pushed a commit that referenced this pull request Oct 7, 2022
Reviewed By: datumbox

Differential Revision: D40138737

fbshipit-source-id: 38d50acf00ce38dec7b4fb3bd40033070ef72678
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.

None yet

4 participants