CLN apply pep257 via docformatter

Not really for merging, but I wanted to see how [docformatter](https://github.com/myint/docformatter) handled codebase (e.g. any bugs). Perhaps we can make these changes incrementally.

cc #6248