Activate pylint at VS code
What is Linting?
- Is a static code analysis tool to flag programming errors, bugs, stylitic errors and suspicious constructs.
- We coud use it to increase the quality of our codes.
Lint tools
- Python
- Javascript
How to activate liniting at vscode?
-
Open
Python:Select linter- At Mac, Press
cmd+shift+p - Input
Python:Select linter - Select part of lint
- At Mac, Press
-
How to open multiple lint in viscode?
- At Mac, Press
cmd+ , - Input
pylint enabled - Check which pylint you want to enabled
- At Mac, Press
-
- You could also new a local setting for vscode
- Construct a folder
.vscode - New a
setting.json - Paste these setting
- Construct a folder
- You could also new a local setting for vscode
{
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"python.linting.pydocstyleEnabled": true
}