Skip to content

Commit 3ce2fbe

Browse files
committed
Add black git pre-commit hook
1 parent 7bb4d2b commit 3ce2fbe

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.0.0
4+
hooks:
5+
- id: check-merge-conflict
6+
- id: debug-statements
7+
- id: end-of-file-fixer
8+
- repo: https://github.com/psf/black
9+
rev: 19.10b0
10+
hooks:
11+
- id: black
12+
language_version: python3

0 commit comments

Comments
 (0)