forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Keep linting/styling/etc modules separate from project #6221
Comments
|
If you want to use your global tools, then you can update "python.formatting.blackPath": "<fully qualified path to black executable>" Hope this answers your question. More information can be found here https://code.visualstudio.com/docs/python/linting#_specific-linters |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
From @BeyondEvil
I have multiple projects and use
pipenv
for them all.They all use
tox
so that's present in thePipfile
:However, while developing I also use
black
,flake8
etc. to deal with styling and linting and VSC adds these "automagically" to the Pipfile. Which I don't want. Because they're not relevant to the actual project.Any linting/styling that happens outside of VSC is handled by
tox
.So VSC should be happy if the chosen linting- and styling tools are available globally.
The text was updated successfully, but these errors were encountered: