Skip to content

Commit e838f42

Browse files
committed
Add pre-commit config file
1 parent 414e88a commit e838f42

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
repos:
2+
- repo: https://github.com/asottile/pyupgrade
3+
rev: v3.15.0
4+
hooks:
5+
- id: pyupgrade
6+
args: [--py311-plus]
7+
- repo: https://github.com/psf/black
8+
rev: 23.11.0
9+
hooks:
10+
- id: black
11+
args: ["--target-version", "py311"]
12+
- repo: https://github.com/pycqa/isort
13+
rev: 5.12.0
14+
hooks:
15+
- id: isort
16+
name: isort (python)

0 commit comments

Comments
 (0)