PEP 257 D402 triggers despite whitespace between function name and bracket.
Viech opened this issue · comments
Maximilian Stahlberg commented
The following code gives me a D402
(first line should not be the function's "signature"):
def reshuffled(self, permutation="ikjl", dimensions=None, order="C"):
"""Return the reshuffled (or realigned) expression.
[…]
"""
I feel that the whitespace should be sufficient to not trigger the signature detection.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Kirill Klenov commented
Thank you for the feedback. The issue needs to be forwarded to pydocstyle project.