PyCQA / pydocstyle

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

Option to not report error for empty file #645

Open Zeckie opened 1 year ago

Zeckie commented 1 year ago

Currently D104 (Missing docstring in public package) applies even to empty files. __init__.py are often empty and if they are, it would be great to not report an error for them, while still enforcing this rule for non-empty files.

jmarshall commented 10 months ago

See also #55. I agree with you though — it would be nice to have this option.