Skip to content

Commit c455659

Browse files
committed
add pre-commit hook
1 parent 0073ccc commit c455659

4 files changed

Lines changed: 196 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
repos:
2+
- repo: https://github.com/ambv/black
3+
rev: 22.3.0
4+
hooks:
5+
- id: black
6+
- repo: https://github.com/pycqa/isort
7+
rev: 5.10.1
8+
hooks:
9+
- id: isort
10+
name: isort (python)
11+
args: ["--profile", "black"]

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10.0b3
1+
3.10.0

0 commit comments

Comments
 (0)