Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Commit fc081a0

Browse files
committed
Add pre-commit hook config.
1 parent 6ff07ec commit fc081a0

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v2.3.0
6+
hooks:
7+
- id: check-added-large-files
8+
- id: check-ast
9+
- id: check-toml
10+
- id: check-yaml
11+
- id: debug-statements
12+
- id: detect-private-key
13+
- id: end-of-file-fixer
14+
- id: trailing-whitespace
15+
16+
- repo: https://github.com/psf/black
17+
rev: 19.10b0
18+
hooks:
19+
- id: black
20+
21+
- repo: https://github.com/pre-commit/mirrors-isort
22+
rev: v4.3.21
23+
hooks:
24+
- id: isort

0 commit comments

Comments
 (0)