Skip to content

Commit d2dfb96

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 302e8b5 commit d2dfb96

5 files changed

+17
-10
lines changed

.github/dependabot.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ version: 2
66
updates:
77
- package-ecosystem: github-actions
88
directory: /
9+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleinterval
910
schedule:
10-
interval: daily
11+
interval: monthly
1112
open-pull-requests-limit: 1
1213
labels:
1314
- tag:bot

.github/workflows/pre-commit-autoupdate.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: pre-commit-autoupdate
66

77
on:
88
schedule:
9-
- cron: 0 0 * * *
9+
- cron: 0 0 1 1,4,7,10 * # quarterly
1010
workflow_dispatch:
1111

1212
jobs:

.github/workflows/pre-commit-optional-autoupdate.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: pre-commit-optional-autoupdate
66

77
on:
88
schedule:
9-
- cron: 0 0 * * *
9+
- cron: 0 0 1 1,4,7,10 * # quarterly
1010
workflow_dispatch:
1111

1212
jobs:

.pre-commit-config.yaml

+11-7
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
# https://github.com/autowarefoundation/sync-file-templates
33
# To make changes, update the source repository and follow the guidelines in its README.
44

5+
# https://pre-commit.ci/#configuration
56
ci:
67
autofix_commit_msg: "style(pre-commit): autofix"
8+
# we already have our own daily update mechanism, we set this to quarterly
9+
autoupdate_schedule: quarterly
10+
autoupdate_commit_msg: "ci(pre-commit): quarterly autoupdate"
711

812
repos:
913
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v4.6.0
14+
rev: v5.0.0
1115
hooks:
1216
- id: check-json
1317
- id: check-merge-conflict
@@ -22,7 +26,7 @@ repos:
2226
args: [--markdown-linebreak-ext=md]
2327

2428
- repo: https://github.com/igorshubovych/markdownlint-cli
25-
rev: v0.41.0
29+
rev: v0.43.0
2630
hooks:
2731
- id: markdownlint
2832
args: [-c, .markdownlint.yaml, --fix]
@@ -53,7 +57,7 @@ repos:
5357
- id: shellcheck
5458

5559
- repo: https://github.com/scop/pre-commit-shfmt
56-
rev: v3.9.0-1
60+
rev: v3.10.0-2
5761
hooks:
5862
- id: shfmt
5963
args: [-w, -s, -i=4]
@@ -64,26 +68,26 @@ repos:
6468
- id: isort
6569

6670
- repo: https://github.com/psf/black
67-
rev: 24.8.0
71+
rev: 24.10.0
6872
hooks:
6973
- id: black
7074
args: [--line-length=100]
7175

7276
- repo: https://github.com/pre-commit/mirrors-clang-format
73-
rev: v18.1.8
77+
rev: v19.1.4
7478
hooks:
7579
- id: clang-format
7680
types_or: [c++, c, cuda]
7781

7882
- repo: https://github.com/cpplint/cpplint
79-
rev: 1.6.1
83+
rev: 2.0.0
8084
hooks:
8185
- id: cpplint
8286
args: [--quiet]
8387
exclude: .cu
8488

8589
- repo: https://github.com/python-jsonschema/check-jsonschema
86-
rev: 0.29.2
90+
rev: 0.30.0
8791
hooks:
8892
- id: check-metaschema
8993
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)