Skip to content

Commit 3ef1bde

Browse files
awf-autoware-bot[bot]github-actionsxmfcx
authored
chore: sync files (#638)
* chore: sync files Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * remove unused github release workflow Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org> * remove guideline check Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org> * ignore MD060 for now Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org> --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Mete Fatih Cırıt <mfc@autoware.org>
1 parent c672c1c commit 3ef1bde

File tree

5 files changed

+28
-95
lines changed

5 files changed

+28
-95
lines changed

.github/sync-files.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
- source: .github/pull_request_template.md
1212
- source: .github/stale.yml
1313
- source: .github/workflows/comment-on-pr.yaml
14-
- source: .github/workflows/github-release.yaml
1514
- source: .github/workflows/pre-commit-optional.yaml
1615
- source: .github/workflows/semantic-pull-request.yaml
1716
- source: .github/workflows/spell-check-differential.yaml
@@ -26,7 +25,13 @@
2625
"pattern": "^http://localhost"' \
2726
{source}
2827
- source: .markdownlint.yaml
28+
pre-commands: |
29+
sd 'MD059: false' 'MD059: false\nMD060: false' {source}
2930
- source: .pre-commit-config.yaml
31+
pre-commands: |
32+
sd -f s \
33+
' - repo: https://github.com/autowarefoundation/autoware-guideline-check\n(.|\n)*?\n - repo: ' \
34+
' - repo: ' {source}
3035
- source: .pre-commit-config-optional.yaml
3136
- source: .prettierignore
3237
- source: .prettierrc.yaml

.github/workflows/github-release.yaml

Lines changed: 0 additions & 82 deletions
This file was deleted.

.markdownlint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ MD041: false
1414
MD045: false
1515
MD046: false
1616
MD049: false
17+
MD059: false
18+
MD060: false

.pre-commit-config-optional.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +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
6+
ci:
7+
autofix_commit_msg: "style(pre-commit-optional): 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-optional): quarterly autoupdate"
11+
512
repos:
613
- repo: https://github.com/tcort/markdown-link-check
7-
rev: v3.12.2
14+
rev: v3.14.2
815
hooks:
916
- id: markdown-link-check
1017
args: [--quiet, --config=.markdown-link-check.json]

.pre-commit-config.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ci:
1111

1212
repos:
1313
- repo: https://github.com/pre-commit/pre-commit-hooks
14-
rev: v5.0.0
14+
rev: v6.0.0
1515
hooks:
1616
- id: check-json
1717
- id: check-merge-conflict
@@ -26,7 +26,7 @@ repos:
2626
args: [--markdown-linebreak-ext=md]
2727

2828
- repo: https://github.com/igorshubovych/markdownlint-cli
29-
rev: v0.43.0
29+
rev: v0.46.0
3030
hooks:
3131
- id: markdownlint
3232
args: [-c, .markdownlint.yaml, --fix]
@@ -37,7 +37,7 @@ repos:
3737
- id: prettier
3838

3939
- repo: https://github.com/adrienverge/yamllint
40-
rev: v1.35.1
40+
rev: v1.37.1
4141
hooks:
4242
- id: yamllint
4343

@@ -52,42 +52,43 @@ repos:
5252
- id: sort-package-xml
5353

5454
- repo: https://github.com/shellcheck-py/shellcheck-py
55-
rev: v0.10.0.1
55+
rev: v0.11.0.1
5656
hooks:
5757
- id: shellcheck
5858

5959
- repo: https://github.com/scop/pre-commit-shfmt
60-
rev: v3.10.0-2
60+
rev: v3.12.0-2
6161
hooks:
6262
- id: shfmt
6363
args: [-w, -s, -i=4]
6464

6565
- repo: https://github.com/pycqa/isort
66-
rev: 5.13.2
66+
rev: 7.0.0
6767
hooks:
6868
- id: isort
69+
args: [--profile=black, --line-length=100]
6970

7071
- repo: https://github.com/psf/black
71-
rev: 24.10.0
72+
rev: 25.11.0
7273
hooks:
7374
- id: black
7475
args: [--line-length=100]
7576

7677
- repo: https://github.com/pre-commit/mirrors-clang-format
77-
rev: v19.1.5
78+
rev: v21.1.6
7879
hooks:
7980
- id: clang-format
8081
types_or: [c++, c, cuda]
8182

8283
- repo: https://github.com/cpplint/cpplint
83-
rev: 2.0.0
84+
rev: 2.0.2
8485
hooks:
8586
- id: cpplint
8687
args: [--quiet]
8788
exclude: .cu
8889

8990
- repo: https://github.com/python-jsonschema/check-jsonschema
90-
rev: 0.30.0
91+
rev: 0.35.0
9192
hooks:
9293
- id: check-metaschema
9394
files: ^.+/schema/.*schema\.json$
@@ -103,7 +104,7 @@ repos:
103104
additional_dependencies: [prettier@2.7.1, "@prettier/plugin-xml@2.2.0"]
104105

105106
- repo: https://github.com/AleksaC/hadolint-py
106-
rev: v2.12.1b3
107+
rev: v2.14.0
107108
hooks:
108109
- id: hadolint
109110
exclude: .svg$

0 commit comments

Comments
 (0)