Skip to content

Commit 310217f

Browse files
committed
add black to pre-commit hook
1 parent 0dabe4e commit 310217f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,12 @@ repos:
9898
- id: isort
9999
name: isort (pyi)
100100
types: [pyi]
101+
- repo: https://github.com/psf/black
102+
rev: 22.12.0
103+
hooks:
104+
- id: black
105+
# It is recommended to specify the latest version of Python
106+
# supported by your project here, or alternatively use
107+
# pre-commit's default_language_version, see
108+
# https://pre-commit.com/#top_level-default_language_version
109+
language_version: python3.9

0 commit comments

Comments
 (0)