PyCQA / pydocstyle

docstring style checker
http://pydocstyle.org
MIT License
1.11k stars 188 forks source link

Add the ability to skip checking some functions. #587

Open mgilson opened 2 years ago

mgilson commented 2 years ago

There are times when you might not want to check a function's docstring. Specifically, we frequently want to ignore test files. There is already an exemption that causes test functions to be considered non-public. This extends on that idea and makes it configurable so a user can cause a test function to be allowed to have no docstring.

This is a potential implementation for #537, #515

Thanks for submitting a PR!

Please make sure to check for the following items:

Please don't get discouraged as it may take a while to get a review.