pydocstyle ignores files with the test_ prefix by default. For the file test_foo.py with this content:
the $ pydocstyle test_foo.py command will not output anything. If I create the myproject.toml configuration file with this content :
[tool.pydocstyle]
match = '.*\.py'
then the output of the command will be as follows:
test_foo.py:1 at module level:
D100: Missing docstring in public module
test_foo.py:1 in public function `bar`:
D103: Missing docstring in public function
But when I open my editor with pylsp connected and the pydocstyle plugin enabled, I don't get any warnings.