Skip to content

Add black formatting github hook  #19

Description

@royari

https://towardsdatascience.com/keep-your-code-clean-using-black-pylint-git-hooks-pre-commit-baf6991f7376

Expected behavior:
add a pre-commit hook which does the following

  • Check for formatting issue when git commit is used.
  • runs black to format if issue is found else exits

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions