Skip to content

FR: Add pre-commit hook to repository #528

Closed

Description

@tpham93

Describe the workflow you want to enable

We should provide a pre-commit configuration file (https://pre-commit.com/), such that flake8 and black run before committing any changes, which may reduce the number of commits due to forgetting them.

Describe your proposed solution

  • Add pre-commit to extra dependencies
  • Add configuration file
  • Add section to installing hooks in Contribution Guide

Describe alternatives you've considered, if relevant

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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