Closed AntoineD closed 1 year ago
Thank you very much! When do you plan to release it?
Well, if I hadn't forgotten to git pull
on the master branch after merging the PR that fixed this problem, it would've been part of v1.6.1! 🤦🏻♂️ I just released v1.6.2 with this fix.
If a class docstring contains a line that is too long and cannot be reformatted, passing flake8 can be done by appending a
#noqa
to the docstring. The following was not modified withdocformatter
1.5.1 andblack
when triggered bypre-commit
:With
docformatter
1.6.1, this is changed to:and
pre-commit
always fails becausedocformatter
andblack
both apply opposite changes.This behavior is triggered by the comment appended to the docstring.