To use linting in VS Code, please refer to the following:
(Take Pylint as an example:)
Please install "pylint" in the currently selected python environment in VS Code: pip install pylint
Please use the following settings in "settings.json":
"python.linting.enabled": true, "python.linting.pylintEnabled": true,
use:
Reference: Linting in VS Code .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.