Skip to content

Commit 3af246d

Browse files
Auto-update pre-commit hooks
1 parent 6188912 commit 3af246d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
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
@@ -69,7 +69,7 @@ repos:
6969
- id: ament_cppcheck
7070
name: ament_cppcheck
7171
description: Static code analysis of C/C++ files.
72-
stages: [commit]
72+
stages: [pre-commit]
7373
entry: env AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS=1 ament_cppcheck
7474
language: system
7575
files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
@@ -80,7 +80,7 @@ repos:
8080
- id: ament_cpplint
8181
name: ament_cpplint
8282
description: Static code analysis of C/C++ files.
83-
stages: [commit]
83+
stages: [pre-commit]
8484
entry: ament_cpplint
8585
language: system
8686
files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
@@ -102,7 +102,7 @@ repos:
102102
- id: ament_lint_cmake
103103
name: ament_lint_cmake
104104
description: Check format of CMakeLists.txt files.
105-
stages: [commit]
105+
stages: [pre-commit]
106106
entry: ament_lint_cmake
107107
language: system
108108
files: CMakeLists.txt$
@@ -113,7 +113,7 @@ repos:
113113
- id: ament_copyright
114114
name: ament_copyright
115115
description: Check if copyright notice is available in all files.
116-
stages: [commit]
116+
stages: [pre-commit]
117117
entry: ament_copyright
118118
language: system
119119
args: ['--exclude', 'ur_robot_driver/doc/conf.py', 'ur_calibration/doc/conf.py']

0 commit comments

Comments
 (0)