1515repos :
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 : 25.1 .0
4343 hooks :
4444 - id : black
4545 args : ["--line-length=100"]
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.2.0
5555 hooks :
5656 - id : flake8
5757 args : ["--ignore=E501,W503"]
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)$
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']
@@ -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