Skip to content

Commit 590c0a1

Browse files
authored
Merge pull request #561 from boriel/feature/add_precommit_hooks
build: add pre-commit hooks
2 parents 3a9c457 + 669fa20 commit 590c0a1

4 files changed

Lines changed: 269 additions & 84 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: 21.9b0
10+
hooks:
11+
- id: black

0 commit comments

Comments
 (0)