Open matthiakl opened 1 year ago
I have the same issue
+1
It looks like there's a few of dependencies that that have caused breakages in pyformat. docformatter is the main problem, but from attempting to create a patch for this there are actually some other things broken as well that could have their own bugs created for them.
It seems like addressing the docformatter bug allows the script to run, but the --jobs
and --aggressive
flags are also broken. As long as you don't need those 2 flags, fixing docformatter makes things work again. I've forked this repo with a fix but I don't plan on submitting a pull request since I needed to remove quite a few unit tests that were broken by the other flags I mentioned so there might still be some corner cases that are still broken with this fork.
With newest docformatter version 1.5, pyformat fails with
AttributeError: module 'docformatter' has no attribute 'format_code'