PyCQA / pydocstyle

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

Allow __post_init__ to not have a docstring #544

Open drts01 opened 3 years ago

drts01 commented 3 years ago

I do not think D105 applies to a data class' __post_init__.

macintacos commented 3 years ago

Was just going to say this. I use this a bunch in conjunction with dataclasses, which seems to be a common way to create Python classes these days. Would be nice to have this omitted for this magic method.