Skip to content

Commit 6078c8b

Browse files
github-actionsgithub-actions[bot]
github-actions
authored andcommitted
chore: sync files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 701e814 commit 6078c8b

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ci:
77

88
repos:
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v4.6.0
10+
rev: v5.0.0
1111
hooks:
1212
- id: check-json
1313
- id: check-merge-conflict
@@ -22,7 +22,7 @@ repos:
2222
args: [--markdown-linebreak-ext=md]
2323

2424
- repo: https://github.com/igorshubovych/markdownlint-cli
25-
rev: v0.41.0
25+
rev: v0.43.0
2626
hooks:
2727
- id: markdownlint
2828
args: [-c, .markdownlint.yaml, --fix]
@@ -53,7 +53,7 @@ repos:
5353
- id: shellcheck
5454

5555
- repo: https://github.com/scop/pre-commit-shfmt
56-
rev: v3.9.0-1
56+
rev: v3.10.0-2
5757
hooks:
5858
- id: shfmt
5959
args: [-w, -s, -i=4]
@@ -64,26 +64,26 @@ repos:
6464
- id: isort
6565

6666
- repo: https://github.com/psf/black
67-
rev: 24.8.0
67+
rev: 24.10.0
6868
hooks:
6969
- id: black
7070
args: [--line-length=100]
7171

7272
- repo: https://github.com/pre-commit/mirrors-clang-format
73-
rev: v18.1.8
73+
rev: v19.1.4
7474
hooks:
7575
- id: clang-format
7676
types_or: [c++, c, cuda]
7777

7878
- repo: https://github.com/cpplint/cpplint
79-
rev: 1.6.1
79+
rev: 2.0.0
8080
hooks:
8181
- id: cpplint
8282
args: [--quiet]
8383
exclude: .cu
8484

8585
- repo: https://github.com/python-jsonschema/check-jsonschema
86-
rev: 0.29.2
86+
rev: 0.30.0
8787
hooks:
8888
- id: check-metaschema
8989
files: ^.+/schema/.*schema\.json$

CPPLINT.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ set noparent
77
linelength=100
88
includeorder=standardcfirst
99
filter=-build/c++11 # we do allow C++11
10+
filter=-build/c++17 # we allow <filesystem>
1011
filter=-build/namespaces_literals # we allow using namespace for literals
1112
filter=-runtime/references # we consider passing non-const references to be ok
1213
filter=-whitespace/braces # we wrap open curly braces for namespaces, classes and functions
1314
filter=-whitespace/indent # we don't indent keywords like public, protected and private with one space
15+
filter=-whitespace/newline # we allow the developer to decide about newline at the end of file (it's clashing with clang-format)
1416
filter=-whitespace/parens # we allow closing parenthesis to be on the next line
1517
filter=-whitespace/semicolon # we allow the developer to decide about whitespace after a semicolon
1618
filter=-build/header_guard # we automatically fix the names of header guards using pre-commit

0 commit comments

Comments
 (0)