black is a PEP8-compliant auto-formatter, which doesn't allow any configuration aside from line length. Its style looks reasonable, so I'd like to give it a go here. The author recommended pre-commit to ensure that contributors see the result of the formatting on their side. I have yet to research alternatives, but I like the fact that it allows multi-language hooks, which pip installing a package can't provide.
black
is a PEP8-compliant auto-formatter, which doesn't allow any configuration aside from line length. Its style looks reasonable, so I'd like to give it a go here. The author recommendedpre-commit
to ensure that contributors see the result of the formatting on their side. I have yet to research alternatives, but I like the fact that it allows multi-language hooks, whichpip install
ing a package can't provide.