Skip to content

Commit

Permalink
#165: Add pre-commit hook config
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Oct 29, 2020
1 parent b890d98 commit 348acf1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: black
name: black
entry: poetry run black
language: system
types: [python]

0 comments on commit 348acf1

Please sign in to comment.