Skip to content

Commit 5cf6cba

Browse files
committed
Added black to pre-commit
1 parent ee01f35 commit 5cf6cba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
repos:
22
- repo: local
33
hooks:
4+
- id: black
5+
name: Run black
6+
entry: poetry run black --check .
7+
language: system
8+
types: [python]
9+
pass_filenames: false
410
- id: pytest
511
name: Run pytest
612
entry: poetry run pytest -m "not slow"

0 commit comments

Comments
 (0)