Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/sync-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- source: .github/pull_request_template.md
- source: .github/stale.yml
- source: .github/workflows/comment-on-pr.yaml
- source: .github/workflows/github-release.yaml
- source: .github/workflows/pre-commit-optional.yaml
- source: .github/workflows/semantic-pull-request.yaml
- source: .github/workflows/spell-check-differential.yaml
Expand All @@ -26,7 +25,13 @@
"pattern": "^http://localhost"' \
{source}
- source: .markdownlint.yaml
pre-commands: |
sd 'MD059: false' 'MD059: false\nMD060: false' {source}
- source: .pre-commit-config.yaml
pre-commands: |
sd -f s \
' - repo: https://github.com/autowarefoundation/autoware-guideline-check\n(.|\n)*?\n - repo: ' \
' - repo: ' {source}
- source: .pre-commit-config-optional.yaml
- source: .prettierignore
- source: .prettierrc.yaml
Expand Down
82 changes: 0 additions & 82 deletions .github/workflows/github-release.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ MD041: false
MD045: false
MD046: false
MD049: false
MD059: false
MD060: false
9 changes: 8 additions & 1 deletion .pre-commit-config-optional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
# https://github.com/autowarefoundation/sync-file-templates
# To make changes, update the source repository and follow the guidelines in its README.

# https://pre-commit.ci/#configuration
ci:
autofix_commit_msg: "style(pre-commit-optional): autofix"
# we already have our own daily update mechanism, we set this to quarterly
autoupdate_schedule: quarterly
autoupdate_commit_msg: "ci(pre-commit-optional): quarterly autoupdate"

repos:
- repo: https://github.com/tcort/markdown-link-check
rev: v3.12.2
rev: v3.14.2
hooks:
- id: markdown-link-check
args: [--quiet, --config=.markdown-link-check.json]
23 changes: 12 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-json
- id: check-merge-conflict
Expand All @@ -26,7 +26,7 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.43.0
rev: v0.46.0
hooks:
- id: markdownlint
args: [-c, .markdownlint.yaml, --fix]
Expand All @@ -37,7 +37,7 @@ repos:
- id: prettier

- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
rev: v1.37.1
hooks:
- id: yamllint

Expand All @@ -52,42 +52,43 @@ repos:
- id: sort-package-xml

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
rev: v0.11.0.1
hooks:
- id: shellcheck

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

- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 7.0.0
hooks:
- id: isort
args: [--profile=black, --line-length=100]

- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.11.0
hooks:
- id: black
args: [--line-length=100]

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.5
rev: v21.1.6
hooks:
- id: clang-format
types_or: [c++, c, cuda]

- repo: https://github.com/cpplint/cpplint
rev: 2.0.0
rev: 2.0.2
hooks:
- id: cpplint
args: [--quiet]
exclude: .cu

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

- repo: https://github.com/AleksaC/hadolint-py
rev: v2.12.1b3
rev: v2.14.0
hooks:
- id: hadolint
exclude: .svg$
Loading