Skip to content

Commit 73a3684

Browse files
committed
init pre-commit
1 parent 0406e52 commit 73a3684

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.pre-commit-config.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/mirrors-prettier
3+
rev: v2.5.1
4+
hooks:
5+
- id: prettier
6+
- repo: https://github.com/PyCQA/flake8
7+
rev: 4.0.1
8+
hooks:
9+
- id: flake8
10+
- repo: https://github.com/asottile/pyupgrade
11+
rev: v2.31.0
12+
hooks:
13+
- id: pyupgrade
14+
args:
15+
- --py36-plus
16+
- repo: https://github.com/pycqa/isort
17+
rev: 5.10.1
18+
hooks:
19+
- id: isort
20+
name: isort (python)
21+
- repo: https://github.com/psf/black
22+
rev: 22.1.0
23+
hooks:
24+
- id: black
25+
- repo: https://github.com/pre-commit/pre-commit-hooks
26+
rev: v4.1.0
27+
hooks:
28+
- id: end-of-file-fixer

0 commit comments

Comments
 (0)