pydocstyle icon indicating copy to clipboard operation
pydocstyle copied to clipboard

Allow __post_init__ to not have a docstring

Open drts01 opened this issue 3 years ago • 1 comments

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

drts01 avatar Jun 12 '21 05:06 drts01

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.

macintacos avatar Jul 27 '21 03:07 macintacos