Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Option to not report error for empty file #645

Open
Zeckie opened this issue Jun 22, 2023 · 1 comment
Open

Option to not report error for empty file #645

Zeckie opened this issue Jun 22, 2023 · 1 comment

Comments

@Zeckie
Copy link

Zeckie commented Jun 22, 2023

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants