Pylint It's a python Syntax detector , While improving programming efficiency, the fancy warnings it brings are also really uncomfortable , Like this colorful wavy line below :

These warnings are extremely diverse , Like the following :

Method 'forward' is abstract in class 'torch.nn.modules.module' but is not

Formatting a regular string which could be a

Unused import torchPylint(W0611:unused-import)

Missing function or method docstringPylint(C0116:missing-function-docstring)


How to eliminate these warnings ?

1, If installed pylint plug-in unit

The operation is as follows :

stay VSCode Click in turn  File -> Preferences -> Settings , Then click in the upper right corner Open Setting(JSON)
, In open  json Add the following statement to the file :
"pylint.args": ["--errors-only"]
2, If used python Self contained lint

  Add in the same position as above :
"python.linting.pylintArgs": ["--errors-only"]

©2019-2020 Toolsou All rights reserved,
【C++ Must see for entry 】C++ from 0 reach 1 Introductory programming axios Interceptor packaging and use Spring Boot Interview must ask : Automatic configuration principle VMware 16 install centos 7 Detailed tutorial C Language data structure - Sequence table delete duplicates V2.0.0 The 12th Blue Bridge Cup c++b Group personal problem solving On sending data from serial port single chip microcomputer to upper computer centos7 install RabbitMqjava Polymorphic array of opencv-python Fourier transform and inverse transform