Enforce PEP257 strictly ...

... and put docstrings for class constructors
into `.__init__()` methods

Source: https://peps.python.org/pep-0257/#multi-line-docstrings
This commit is contained in:
Alexander Hess 2024-09-18 15:17:53 +02:00
parent d9dcea8379
commit d405c22c90
Signed by: alexander
GPG key ID: 344EA5AB10D868E0

View file

@ -185,6 +185,8 @@ extend-ignore = [ # never check the following codes
"ANN401", # allow dynamically typed expressions with `typing.Any`
"DOC301", # PEP257 => class constructor's docstring go in `.__init__()`
# Comply with black's style
# Sources: https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#pycodestyle
"E203", "E701", "E704", "W503",