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

Allow the use of Flake8 plugins #318

Open
pauloneves opened this issue May 29, 2024 · 3 comments
Open

Allow the use of Flake8 plugins #318

pauloneves opened this issue May 29, 2024 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug documentation

Comments

@pauloneves
Copy link

Flake8 has a plugin system. There are a lot of useful plugins.

Flake8 extension has no instructions about how to use plugins in my code. It looks like it isn't possible, or I that I have to use the flake8 install from the environment.

@karthiknadig karthiknadig added bug Issue identified by VS Code Team member as probable bug documentation and removed triage-needed labels May 29, 2024
@karthiknadig
Copy link
Member

@pauloneves You can install plugins into your environment and use import strategy as fromEnvironment. We only ship flake8 out of the box. So, you will need to install the plugins in your environment to get the best experience.

Additionally, you can also try the Ruff extension. It uses ruff which has several flake8 plugins implemented in rust for high performance linting.

@luabud we might need a section in the docs explaining this.

@pauloneves
Copy link
Author

pauloneves commented May 29, 2024 via email

@pauloneves
Copy link
Author

I answered my own question on StackOverflow

I don't know why it was downvoted, but I believe somebody may find it useful in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug documentation
Projects
None yet
Development

No branches or pull requests

3 participants