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:
parent
d9dcea8379
commit
d405c22c90
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue