Skip to content

Setup Pre-Commit Hooks  #5

@trevorb1

Description

@trevorb1

Pre-commit hooks will ensure code committed follows correct formatting. Quickly looking at their options, I would think all of the default ones from the pre-commit repository would be good to add. Also, auto formatting for black would probably be good. Totally open to other suggestions as well!

Successful PR for this issue will include:

  • Pre-commit hooks added to repository.
    • Auto formatting for Black
    • Type check through mypy
    • Linting check for flake8
  • Add badge for Black formatting Code style: black

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions