Skip to content

Commit 1770f87

Browse files
committed
chore: Add pre-commit hooks
1 parent 759dc5d commit 1770f87

File tree

3 files changed

+1155
-2
lines changed

3 files changed

+1155
-2
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 22.8.0
4+
hooks:
5+
- id: black
6+
7+
- repo: https://github.com/PyCQA/flake8
8+
rev: 5.0.2
9+
hooks:
10+
- id: flake8
11+
additional_dependencies:
12+
- flake8-bugbear
13+
14+
- repo: https://github.com/pycqa/isort
15+
rev: 5.10.1
16+
hooks:
17+
- id: isort

0 commit comments

Comments
 (0)