Skip to content

Commit 74706d6

Browse files
committed
Add pre-commit file
1 parent d2b72a4 commit 74706d6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.pre-commit-config.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: stable
4+
hooks:
5+
- id: black
6+
language_version: python3.8
7+
8+
- repo: https://github.com/pre-commit/mirrors-isort
9+
rev: v4.3.21
10+
hooks:
11+
- id: isort
12+
additional_dependencies: [toml]
13+
language_version: python3.8
14+
15+
- repo: https://github.com/pre-commit/pre-commit-hooks
16+
rev: v2.4.0
17+
hooks:
18+
- id: trailing-whitespace
19+
- id: end-of-file-fixer
20+
- id: debug-statements
21+
22+
- repo: https://github.com/asottile/setup-cfg-fmt
23+
rev: v1.9.0
24+
hooks:
25+
- id: setup-cfg-fmt

0 commit comments

Comments
 (0)