Skip to content

Commit 7d612e9

Browse files
authored
adds pre-commit config
1 parent dffaaeb commit 7d612e9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.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: v4.3.0
6+
hooks:
7+
- id: check-added-large-files
8+
- id: check-toml
9+
- id: check-yaml
10+
args:
11+
- --unsafe
12+
- id: end-of-file-fixer
13+
- id: trailing-whitespace
14+
- id: flake8
15+
- repo: https://github.com/pycqa/isort
16+
rev: 5.10.1
17+
hooks:
18+
- id: isort
19+
name: isort
20+
- repo: https://github.com/grantjenks/blue
21+
rev: v0.9.1
22+
hooks:
23+
- id: blue
24+
name: blue

0 commit comments

Comments
 (0)