Skip to content

Commit 4e2b8b9

Browse files
committed
build: add pre-commit hooks
Including black
1 parent 3a9c457 commit 4e2b8b9

3 files changed

Lines changed: 256 additions & 80 deletions

File tree

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.3.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
- repo: https://github.com/psf/black
9+
rev: 19.3b0
10+
hooks:
11+
- id: black

0 commit comments

Comments
 (0)