Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add black git hooks #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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