Skip to content

Commit

Permalink
Merge pull request #209 from GooeyAI/black-as-pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy authored Nov 15, 2023
2 parents 01bce14 + 435943e commit a388ab5
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- repo: local
hooks:
- id: black
name: black
entry: poetry run black
language: system
types: [python]
Loading

0 comments on commit a388ab5

Please sign in to comment.