Skip to content

Commit b0350d0

Browse files
Auto-update pre-commit hooks
1 parent 6188912 commit b0350d0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 10 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: v6.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.20.0
3737
hooks:
3838
- id: pyupgrade
3939
args: [--py36-plus]
4040

4141
- repo: https://github.com/psf/black
42-
rev: 24.8.0
42+
rev: 25.1.0
4343
hooks:
4444
- id: black
4545
args: ["--line-length=100"]
@@ -51,7 +51,7 @@ repos:
5151
args: ["--ignore=D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D401,D404"]
5252

5353
- repo: https://github.com/pycqa/flake8
54-
rev: 7.1.1
54+
rev: 7.3.0
5555
hooks:
5656
- id: flake8
5757
args: ["--ignore=E501,W503"]
@@ -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,14 +113,14 @@ 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']
120120

121121
# Docs - RestructuredText hooks
122122
- repo: https://github.com/PyCQA/doc8
123-
rev: v1.1.2
123+
rev: v2.0.0
124124
hooks:
125125
- id: doc8
126126
args: ['--max-line-length=100', '--ignore=D001']
@@ -135,7 +135,7 @@ repos:
135135
# Spellcheck in comments and docs
136136
# skipping of *.svg files is not working...
137137
- repo: https://github.com/codespell-project/codespell
138-
rev: v2.3.0
138+
rev: v2.4.1
139139
hooks:
140140
- id: codespell
141141
args: ['--write-changes', '-L bootup,assertIn']

0 commit comments

Comments
 (0)