Skip to content

Commit 3f28f6c

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

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 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
@@ -33,13 +33,13 @@ repos:
3333

3434
# Python hooks
3535
- repo: https://github.com/asottile/pyupgrade
36-
rev: v3.17.0
36+
rev: v3.19.1
3737
hooks:
3838
- id: pyupgrade
3939
args: [--py36-plus]
4040

4141
- repo: https://github.com/psf/black
42-
rev: 24.8.0
42+
rev: 24.10.0
4343
hooks:
4444
- id: black
4545
args: ["--line-length=100"]
@@ -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)