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

[CI][fix] seed third party removal #201

Merged
merged 1 commit into from
Feb 2, 2022
Merged

Conversation

blefaudeux
Copy link
Contributor

@blefaudeux blefaudeux commented Feb 2, 2022

What does this PR do?

Not actually needed since isort 5.. Fixes #194
I just checked with a brand new environment, no problem on my side

Before submitting

  • Did you have fun?
    • Make sure you had fun coding 🙃
  • Did you read the contributor guideline?
  • Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
    • N/A
  • Did you make sure to update the docs?
    • N/A
  • Did you write any new necessary tests?
    • N/A
  • Did you update the changelog? (if needed)
    • N/A

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 2, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #201 (704f2c2) into main (73d8f7f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #201   +/-   ##
=======================================
  Coverage   91.52%   91.52%           
=======================================
  Files          59       59           
  Lines        2996     2996           
=======================================
  Hits         2742     2742           
  Misses        254      254           
Flag Coverage Δ
Python 91.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73d8f7f...704f2c2. Read the comment docs.

Copy link
Contributor

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Thanks!

FYI I'm using isort 5.7.0 and I face this issue without this patch

@blefaudeux
Copy link
Contributor Author

blefaudeux commented Feb 2, 2022

Thanks!

FYI I'm using isort 5.7.0 and I face this issue without this patch

with the log you reported ? It should not be possible, this extension is not here anymore.. but what probably happens is that you need to remove pre-commit and re-install it (it only reads the config once, at installation time). I did test the above in a blank env and no problemo

edit: no ok, I probably misunderstood your comment. So basically (a) pre-commit needs to be uninstalled then installed again for this to be picked up (b) your point was that you were facing the issue with isort 5.7, yes, I meant in the PR comment to say that we could remove this step because isort >5 was doing it already (which is probably why this seed-third-party tool was deprecated in the first place). So all in all this should fix your case and not remove any existing feature !

@blefaudeux blefaudeux merged commit 093224e into main Feb 2, 2022
@blefaudeux blefaudeux deleted the remove_isort_third_parties branch February 2, 2022 17:00
xwhan pushed a commit to xwhan/xformers that referenced this pull request Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pre-commit broken on seed isort
4 participants