-
Notifications
You must be signed in to change notification settings - Fork 56
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
VS Code integration doesn't work when using -L
/--lint
#252
Comments
from vscode's OUTPUT (python category):
Where PATH_TO_FILE appears without '/' in in the beginning of the string. |
Another update, it seems to be the |
finally! you should add quotes around the linting tool/ its path.
But it seems that there isn't any integration between the chosen linting tool (flake8/ mypy) when running using darker, although they work great (and show suggestions under the PROBLEMS window) when run alone. |
Thanks a lot for your investigation @mayk0gan! VSCode copies your The problem with integrating other linting tools to the process is that their output is mixed in with the Maybe this is something we need to mention in the documentation. On Linux, my VSCode configuration is: {
// ...
"python.formatting.blackArgs": [
"--revision=master...",
"--isort"
],
"python.formatting.blackPath": "/home/akaihola/.virtualenvs/darker/bin/darker",
"python.formatting.provider": "black",
// ...
} which seems to work all right. |
I tried something similar to the configuration here (#67) and it works, I think that the main problem is with external linters ( |
-L
/--lint
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi,
I'm trying to follow the instuctions in the readme file, but it doesn't seem to work.
My
settings.json
:I've started with more complex configuration which didn't work too:
The text was updated successfully, but these errors were encountered: