-
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
Question/Idea: Lint full directory/project #82
Comments
From @robomojo on February 12, 2017 12:5 I have been searching for the same thing and it seems to be a missing vscode feature. |
Ability to run as a task and report problems. (contribute problem matchers) |
@MikhailArkhipov as part of your linting work, could you see what it would take to add some "Lint workspace" command? E.g. would every linter need a custom setting because they all have a custom way to do recursion? |
PTVS engine does this |
Is there a way to enable full project linting in the current or development releases of the vscode-python extension? |
@sbmelvin no, not at the moment. If someone wanted to contribute code to do it we would be happy to review the PR. |
I'm using this task definition. It is far from perfect, but kind-of gets the job done. Note that you need to adapt this to your project (set the correct path to pylint and the name of the root package (instead of
|
I noticed this was marked done, does that mean there's a way to enable full project linting in the current or development releases of the vscode-python extension? |
@sbmelvin this is not marked as done. |
@sbmelvin - this is implemented in Microsoft Python Language server which is in experimental state. You can try it by setting |
@MikhailArkhipov I'll give that a try. Do I need to use the development release for this? |
@sbmelvin, no, works in regular. |
From @mdalpi on February 1, 2017 20:9
Hi.
There's any way to lint the whole project directory instead of only open files (and the errors will be displayed accordingly, error by file in problems view)?
I think it'll be great to have this with Flake8 at least (maybe PyLint is a little slow to lint the whole project after every save).
Thanks 😄
Copied from original issue: DonJayamanne/pythonVSCode#694
The text was updated successfully, but these errors were encountered: