Skip to content

Format repo with black and set up pre-commit #45

@jszopi

Description

@jszopi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions