Skip to content

Commit a88d56e

Browse files
github-actions[bot]mergify[bot]
authored andcommitted
Auto-update pre-commit hooks (#1118)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> (cherry picked from commit 496d924) # Conflicts: # .pre-commit-config.yaml
1 parent 90e5956 commit a88d56e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
repos:
1616
# Standard hooks
1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18+
<<<<<<< HEAD
1819
rev: v4.4.0
20+
=======
21+
rev: v5.0.0
22+
>>>>>>> 496d924 (Auto-update pre-commit hooks (#1118))
1923
hooks:
2024
- id: check-added-large-files
2125
- id: check-ast
@@ -69,7 +73,7 @@ repos:
6973
- id: ament_cppcheck
7074
name: ament_cppcheck
7175
description: Static code analysis of C/C++ files.
72-
stages: [commit]
76+
stages: [pre-commit]
7377
entry: env AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS=1 ament_cppcheck
7478
language: system
7579
files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
@@ -80,7 +84,7 @@ repos:
8084
- id: ament_cpplint
8185
name: ament_cpplint
8286
description: Static code analysis of C/C++ files.
83-
stages: [commit]
87+
stages: [pre-commit]
8488
entry: ament_cpplint
8589
language: system
8690
files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
@@ -102,7 +106,7 @@ repos:
102106
- id: ament_lint_cmake
103107
name: ament_lint_cmake
104108
description: Check format of CMakeLists.txt files.
105-
stages: [commit]
109+
stages: [pre-commit]
106110
entry: ament_lint_cmake
107111
language: system
108112
files: CMakeLists.txt$
@@ -113,7 +117,7 @@ repos:
113117
- id: ament_copyright
114118
name: ament_copyright
115119
description: Check if copyright notice is available in all files.
116-
stages: [commit]
120+
stages: [pre-commit]
117121
entry: ament_copyright
118122
language: system
119123
args: ['--exclude', 'ur_robot_driver/doc/conf.py', 'ur_calibration/doc/conf.py']

0 commit comments

Comments
 (0)