Skip to content

Commit 73f4708

Browse files
committed
Add a Black formatting phase in pre-commit hooks
1 parent f129656 commit 73f4708

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
@@ -6,6 +6,7 @@ repos:
66
entry: gnatformat
77
language: system
88
files: "^lkql_checker/src/.*\\.ad(b|s)$"
9+
910
- repo: local
1011
hooks:
1112
- id: maven-spotless
@@ -18,3 +19,9 @@ repos:
1819
pass_filenames: false
1920
require_serial: true
2021
files: "^lkql_jit/.*\\.java$"
22+
23+
- repo: https://github.com/ambv/black
24+
rev: 24.10.0
25+
hooks:
26+
- id: black
27+
name: black-24.10.0

0 commit comments

Comments
 (0)