Description
What's the output of :CocCommand pyright.version
[coc.nvim] coc-pyright 1.1.141 with Pyright 1.1.142
By default pydocstyle does not check file names starting with test_
for docstrings. Running pydocstyle
from shell confirms this. However, I still see missing docstring warnings while working on my test files. I could disable linting altogether for test files, or disable pydocstyle while writing tests, but both are inconvenient. Ideally, there should be a way to specify arguments passed to there is.pydocstyle
Is this an issue with the upstream, or can this be handled within coc-pyright?
edit: Appearently, there is an option for that: "python.linting.pydocstyleArgs": [ "--match='(?!test_).*\\.py" ]
(notice the double \ because coc complained about invalid escape character.) Should this option have a default value that reflects that of the standalone pydocstyle
?