Skip to content

Commit

Permalink
Formatting: Add Pre-commit for running black
Browse files Browse the repository at this point in the history
  • Loading branch information
CSSFrancis committed Mar 27, 2024
1 parent fae5ca5 commit 43e3eb2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/psf/black
# Version can be updated by running "pre-commit autoupdate"
rev: 24.3.0
hooks:
- id: black
ci:
# Don't run automatically on PRs, instead add the comment
# "pre-commit.ci autofix" on a pull request to manually trigger auto-fixing
autofix_prs: false

0 comments on commit 43e3eb2

Please sign in to comment.