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

flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin flake8-isort due to cannot import name SortImports from isort #1654

Closed
wiseaidev opened this issue Aug 4, 2022 · 1 comment
Labels

Comments

@wiseaidev
Copy link

wiseaidev commented Aug 4, 2022

how did you install flake8?

I am using flake8 as a pre-commit hook:

https://github.com/wiseaidev/awesome-code/blob/9810a6b6da43c1622a0c4da4ef5ef158746fc81a/.pre-commit-config.yaml#L29-L33

unmodified output of flake8 --bug-report

You can refer to this pre-commit.ci output for more info.

describe the problem

what I expected to happen

I am expecting pre-commit-ci to run as expected. However, it seems like the flake8-isort plugin was removed in the newer version of flake8.

You can refer to this PR #awesome-code/pull/12 for more context about the issue.

@sigmavirus24
Copy link
Member

You haven't provided the output of the bug report debug output and we don't control flake8-isort. It seems to be importing something from isort which no longer exists. Without knowing more, it would seem that this is just the first run to detect this issue for you. This is not a bug in flake8

@sigmavirus24 sigmavirus24 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants