Skip to content

Conversation

@arushi-08
Copy link

@arushi-08 arushi-08 commented Oct 5, 2024

Fixes #19

Description

Aim: Add a pre-commit hook which checks and applies black formatting when git commit is done.

Changes made:
added .pre-commit-config.yaml, pyproject.toml, requirements-dev.txt

Steps to perform to set up the git hooks in your local repository:

pip install -r requirements-dev.txt
pre-commit install

We can include these instructions in README.

Reference for .pre-commit-config.yaml : https://github.com/arrow-py/arrow/blob/master/.pre-commit-config.yaml

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add black formatting github hook

1 participant