Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Commit c8b31ba

Browse files
Bump version of pre-commit hooks (#385) (#387)
Co-authored-by: ahcorde <[email protected]> (cherry picked from commit def1a86) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5c6f1c8 commit c8b31ba

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
repos:
1616
# Standard hooks
1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v4.6.0
18+
rev: v5.0.0
1919
hooks:
2020
- id: check-added-large-files
2121
- id: check-ast
@@ -35,7 +35,7 @@ repos:
3535

3636
# Python hooks
3737
- repo: https://github.com/asottile/pyupgrade
38-
rev: v3.17.0
38+
rev: v3.19.0
3939
hooks:
4040
- id: pyupgrade
4141
args: [--py36-plus]
@@ -72,7 +72,7 @@ repos:
7272
- id: ament_cppcheck
7373
name: ament_cppcheck
7474
description: Static code analysis of C/C++ files.
75-
stages: [commit]
75+
stages: [pre-commit]
7676
entry: ament_cppcheck
7777
language: system
7878
files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
@@ -83,7 +83,7 @@ repos:
8383
- id: ament_cpplint
8484
name: ament_cpplint
8585
description: Static code analysis of C/C++ files.
86-
stages: [commit]
86+
stages: [pre-commit]
8787
entry: ament_cpplint
8888
language: system
8989
files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
@@ -95,7 +95,7 @@ repos:
9595
- id: ament_lint_cmake
9696
name: ament_lint_cmake
9797
description: Check format of CMakeLists.txt files.
98-
stages: [commit]
98+
stages: [pre-commit]
9999
entry: ament_lint_cmake
100100
language: system
101101
files: CMakeLists\.txt$
@@ -106,7 +106,7 @@ repos:
106106
- id: ament_copyright
107107
name: ament_copyright
108108
description: Check if copyright notice is available in all files.
109-
stages: [commit]
109+
stages: [pre-commit]
110110
entry: ament_copyright
111111
language: system
112112

@@ -136,7 +136,7 @@ repos:
136136
exclude: CHANGELOG\.rst|\.(svg|pyc)$
137137

138138
- repo: https://github.com/python-jsonschema/check-jsonschema
139-
rev: 0.29.3
139+
rev: 0.29.4
140140
hooks:
141141
- id: check-github-workflows
142142
args: ["--verbose"]

0 commit comments

Comments
 (0)