The way to turn off pylint error reporting in vscode is:
fpylint is a plug-in that comes with python in VScode, which can help standardize and make the code beautiful.
But there are some errors you don’t want to see, and you can selectively ignore them.
For example, in re.compile(), you can add the parameter re.S to make . match any character. However, pylint will always report an error that this method does not exist, causing it to fail to run. This problem does not occur in Pycharm.
If you want to customize ignoring errors, do the following:
1. Search for python.linting.pylintArgs
in the setting and json files. 2. Modify as follows.
3. Add the string --disable=error code to python.linting.pylintArgs. If there are multiple error codes, separate them with parentheses. I've only ignored E1101 here. You can change it to E1101, E1102
Note: I read a lot of information on the Internet here, and many people said to add --disable-msg=error code. But this method does not apply to me, maybe I downloaded the latest version. Just use the method mentioned above and test it yourself.
Recommended tutorial: "vscode introductory tutorial"
The above is the detailed content of How to turn off pylint error reporting in vscode. For more information, please follow other related articles on the PHP Chinese website!

2022年了,该学会用VSCode debug了!下面本篇文章手把手带大家会习VSCode debug,希望对大家有所帮助!

本篇是VSCode配置文章,手把手教大家怎么在VSCode中配置使用 Geant4 和 Root,希望对大家有所帮助!

本篇文章扒拉一下vscode Prettier的选项,总结分享16个让你的代码变漂亮的属性,希望对大家有所帮助!

“工欲善其事,必先利其器!”,vscode作为前端开发的重要工具,其插件能大幅提升战斗力,精心收集12个插件,总有几款你还未曾拥有。

VSCode中如何开发uni-app?下面本篇文章给大家分享一下VSCode中开发uni-app的教程,这可能是最好、最详细的教程了。快来看看!

VScode中怎么开发置C/C++?怎么配置C/C++环境?下面本篇文章给大家分享一下Windows系统下VScode配置C/C++环境图文教程,希望对大家有所帮助!


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Linux new version
SublimeText3 Linux latest version

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 English version
Recommended: Win version, supports code prompts!
