In my python code, I see the following warning all over the place;
JavaScript
x
2
1
Missing function or method docstringpylint(missing-function-docstring)
2
How do I remove this warning?
I am using VS code v1.64.0, Microsoft Python Extension for Visual Studio Code v2022.0.1786462952.
Advertisement
Answer
From the hints provided in the comments, I managed to find an answer to my question.
Edit settings.json found in .vscode folder.
Add in the following;
JavaScript
1
6
1
{
2
"python.linting.pylintArgs": [
3
"--disable=C0116",
4
],
5
}
6
My answer was found thanks to another answer here How do you fix “Missing module docstringpylint(missing-module-docstring)”