Skip to content

Commit 93b7b96

Browse files
committed
chore(pre-commit): update pre-commit hooks
1 parent b1cfb40 commit 93b7b96

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.clang-format

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ AlignEscapedNewlines: Right
1313
AllowAllArgumentsOnNextLine: false
1414
AllowAllParametersOfDeclarationOnNextLine: false
1515
AllowShortIfStatementsOnASingleLine: Never
16-
BinPackArguments: false
17-
BinPackParameters: OnePerLine
16+
PackArguments:
17+
BinPack: OnePerLine
18+
PackParameters:
19+
BinPack: OnePerLine
1820
BreakBeforeTernaryOperators: true
1921
CommentPragmas: 'NOLINT(NEXTLINE|BEGIN|END)?\[.*\]'
2022
DerivePointerAlignment: false

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ repos:
3030
args: [--ignore-case]
3131
files: ^docs/source/spelling_wordlist\.txt$
3232
- repo: https://github.com/pre-commit/mirrors-clang-format
33-
rev: v22.1.8
33+
rev: v23.1.0
3434
hooks:
3535
- id: clang-format
3636
- repo: https://github.com/cpplint/cpplint
3737
rev: 2.0.2
3838
hooks:
3939
- id: cpplint
4040
- repo: https://github.com/astral-sh/ruff-pre-commit
41-
rev: v0.16.4
41+
rev: v0.16.5
4242
hooks:
4343
- id: ruff-check
4444
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)