Skip to content

Commit 8a93cef

Browse files
Add pre-commit hook for Black
1 parent ad5d85d commit 8a93cef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
repos:
2+
# Black formats the Python code.
3+
- repo: https://github.com/psf/black
4+
rev: stable
5+
hooks:
6+
- id: black
7+
language_version: python3.8

0 commit comments

Comments
 (0)