Skip to content

Commit

Permalink
Add black pre-commit hook
Browse files Browse the repository at this point in the history
This commit adds the black formatter as a pre-commit hook to the
repository

Issue princeton-nlp#195 Black Format Codebase
  • Loading branch information
hminsky2002 committed Apr 17, 2024
1 parent be2c4c2 commit bc53810
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ repos:
# Run the formatter.
# - id: ruff-format

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.0
hooks:
- id: black
language_version: python3.9

0 comments on commit bc53810

Please sign in to comment.