Skip to content

Commit 6e7e235

Browse files
committed
feat(72): Enfore styling and linting by using pre-commit hooks
1 parent 050f713 commit 6e7e235

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.pre-commit-config.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: black
5+
name: black
6+
entry: black
7+
language: system
8+
pass_filenames: true
9+
types: [python]
10+
- id: flake8
11+
name: flake8
12+
entry: flake8 --max-line-length=120
13+
language: system
14+
pass_filenames: true
15+
types: [python]
16+
- id: isort
17+
name: isort
18+
entry: isort
19+
language: system
20+
pass_filenames: true
21+
types: [python]

0 commit comments

Comments
 (0)