Skip to content

Commit 1e0bef9

Browse files
committed
Reverting version of clang-formatter
1 parent 5dfdde0 commit 1e0bef9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ repos:
4141
- id: flake8
4242
args: [--max-line-length=88, --select=C,E,F,W,B,B950, --extend-ignore = E203,E501]
4343
types_or: [python, cython]
44+
- repo: https://github.com/pre-commit/mirrors-clang-format
45+
rev: v16.0.5
46+
hooks:
47+
- id: clang-format
48+
types_or: [c, c++, cuda, proto, textproto, java]
49+
args: ["-fallback-style=none", "-style=file", "-i"]
4450
- repo: https://github.com/codespell-project/codespell
4551
rev: v2.4.1
4652
hooks:
4753
- id: codespell
4854
additional_dependencies: [tomli]
4955
args: ["--toml", "pyproject.toml"]
5056
exclude: (?x)^(.*stemmer.*|.*stop_words.*|^CHANGELOG.md$)
51-
- repo: https://github.com/pre-commit/mirrors-clang-format
52-
rev: v21.1.2
53-
hooks:
54-
- id: clang-format
55-
types_or: [c, c++, cuda, proto, textproto, java]
56-
args: ["-fallback-style=none", "-style=file", "-i"]
5757
- repo: https://github.com/pre-commit/pre-commit-hooks
5858
rev: v6.0.0
5959
hooks:

0 commit comments

Comments
 (0)