I am using VSCode 1.74 (the latest at the time of writing), and I am trying to disable some linting warnings in Pylint globally. The warnings are:
Missing module docstringpylint(missing-module-docstring - C0114)
Missing class docstringpylint(missing-class-docstring - C0115)
Missing function docstringpylint(missing-function-docstring - C0116)
So as per the other answers on this site, I have tried adding the python.linting.pylintArgs
in settings.json
found in "Preferences:Open User Settings(JSON)"
as shown below, but none is working out for me:
method 1
"python.linting.pylintArgs": [
"--disable=missing-module-docstring",
"--disable=missing-class-docstring",
"--disable=missing-function-docstring"
]
method 2
"python.linting.pylintArgs": [
"--disable=C0111"
]
method 3
"python.linting.pylintArgs": [
"--disable=C0114",
"--disable=C0115",
"--disable=C0116"
]
But the warnings still persist. Any suggestions?