Skip to content

Commit 4617e0e

Browse files
authored
Move black to earlier in the pre-commit config (#903)
Makes it easier to see formatting issues during the CI run without having to wait for clang-tidy
1 parent e364e93 commit 4617e0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ repos:
55
- id: mixed-line-ending
66
- id: trailing-whitespace
77
exclude: (doc/ReleaseNotes.md)
8+
- repo: https://github.com/psf/black
9+
rev: 23.11.0
10+
hooks:
11+
- id: black
812
- repo: local
913
hooks:
1014
- id: clang-format
@@ -35,7 +39,3 @@ repos:
3539
types: [c++]
3640
exclude: (tests/(datamodel|src|extra_code)/.*(h|cc)|podioVersion.in.h)
3741
language: system
38-
- repo: https://github.com/psf/black
39-
rev: 23.11.0
40-
hooks:
41-
- id: black

0 commit comments

Comments
 (0)