55# https://pre-commit.ci/#configuration
66ci :
77 autofix_commit_msg : " style(pre-commit): autofix"
8- # we already have our own daily update mechanism, we set this to quarterly
98 autoupdate_schedule : quarterly
109 autoupdate_commit_msg : " ci(pre-commit): quarterly autoupdate"
1110
1211repos :
1312 - repo : https://github.com/pre-commit/pre-commit-hooks
14- rev : v5 .0.0
13+ rev : v6 .0.0
1514 hooks :
1615 - id : check-json
1716 - id : check-merge-conflict
2625 args : [--markdown-linebreak-ext=md]
2726
2827 - repo : https://github.com/igorshubovych/markdownlint-cli
29- rev : v0.44 .0
28+ rev : v0.47 .0
3029 hooks :
3130 - id : markdownlint
3231 args : [-c, .markdownlint.yaml, --fix]
@@ -35,19 +34,20 @@ repos:
3534 rev : v4.0.0-alpha.8
3635 hooks :
3736 - id : prettier
37+ args : [--no-error-on-unmatched-pattern]
3838
3939 - repo : https://github.com/adrienverge/yamllint
40- rev : v1.37 .0
40+ rev : v1.38 .0
4141 hooks :
4242 - id : yamllint
4343
4444 - repo : https://github.com/autowarefoundation/autoware-guideline-check
45- rev : 0.1 .0
45+ rev : 0.2 .0
4646 hooks :
4747 - id : check-package-depends
4848
4949 - repo : https://github.com/tier4/pre-commit-hooks-ros
50- rev : v0.10.0
50+ rev : v0.10.2
5151 hooks :
5252 - id : flake8-ros
5353 - id : prettier-xacro
@@ -57,42 +57,43 @@ repos:
5757 - id : sort-package-xml
5858
5959 - repo : https://github.com/shellcheck-py/shellcheck-py
60- rev : v0.10 .0.1
60+ rev : v0.11 .0.1
6161 hooks :
6262 - id : shellcheck
6363
6464 - repo : https://github.com/scop/pre-commit-shfmt
65- rev : v3.11 .0-1
65+ rev : v3.12 .0-2
6666 hooks :
6767 - id : shfmt
6868 args : [-w, -s, -i=4]
6969
7070 - repo : https://github.com/pycqa/isort
71- rev : 6 .0.1
71+ rev : 7 .0.0
7272 hooks :
7373 - id : isort
74+ args : [--profile=black, --line-length=100]
7475
75- - repo : https://github.com/psf/black
76- rev : 25 .1.0
76+ - repo : https://github.com/psf/black-pre-commit-mirror
77+ rev : 26 .1.0
7778 hooks :
7879 - id : black
7980 args : [--line-length=100]
8081
8182 - repo : https://github.com/pre-commit/mirrors-clang-format
82- rev : v20 .1.0
83+ rev : v21 .1.8
8384 hooks :
8485 - id : clang-format
8586 types_or : [c++, c, cuda]
8687
8788 - repo : https://github.com/cpplint/cpplint
88- rev : 2.0.1
89+ rev : 2.0.2
8990 hooks :
9091 - id : cpplint
9192 args : [--quiet]
9293 exclude : .cu
9394
9495 - repo : https://github.com/python-jsonschema/check-jsonschema
95- rev : 0.32.1
96+ rev : 0.36.2
9697 hooks :
9798 - id : check-metaschema
9899 files : ^.+/schema/.*schema\.json$
@@ -107,8 +108,14 @@ repos:
107108 files : .svg$
108109 additional_dependencies : [prettier@2.7.1, "@prettier/plugin-xml@2.2.0"]
109110
111+ - repo : https://github.com/autowarefoundation/autoware_system_designer
112+ rev : v0.3.1
113+ hooks :
114+ - id : lint-system-design-format
115+ args : [--format=github-actions]
116+
110117 - repo : https://github.com/AleksaC/hadolint-py
111- rev : v2.12.1b3
118+ rev : v2.14.0
112119 hooks :
113120 - id : hadolint
114121 exclude : .svg$
0 commit comments