Home > Article > Development Tools > How to check the correctness of the code in vscode
Install Pylint plugin
Pylint is a library that checks for PEP 8 specification violations and common errors. It integrates well with several popular editors and IDEs and can also be run from the command line.
Open the command prompt window, go to the C:\Python34\Scripts\ directory,
Execute the pip install pylint
command Install Pylint and wait for the installation to complete.
Successful installation prompt
Open vscode to open the user settings file.
Add configuration"python.linting.pylintEnabled":true,
The above is the detailed content of How to check the correctness of the code in vscode. For more information, please follow other related articles on the PHP Chinese website!