Skip to content

Commit 466ba9a

Browse files
github-actions[bot]mergify[bot]
authored andcommitted
Bump version of pre-commit hooks (#2188)
(cherry picked from commit f730c7a)
1 parent edd5db3 commit 466ba9a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ repos:
6464

6565
# CPP hooks
6666
- repo: https://github.com/pre-commit/mirrors-clang-format
67-
rev: v21.1.8
67+
rev: v22.1.0
6868
hooks:
6969
- id: clang-format
7070
args: ['-fallback-style=none', '-i']
@@ -138,7 +138,7 @@ repos:
138138
exclude: CHANGELOG\.rst|\.(svg|pyc|drawio)$
139139

140140
- repo: https://github.com/python-jsonschema/check-jsonschema
141-
rev: 0.36.1
141+
rev: 0.37.0
142142
hooks:
143143
- id: check-github-workflows
144144
args: ["--verbose"]

forward_command_controller/src/forward_controllers_base.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@ controller_interface::return_type ForwardControllersBase::update(
142142
}
143143

144144
// no command received yet
145-
if (std::all_of(
146-
joint_commands_.data.cbegin(), joint_commands_.data.cend(),
147-
[](const auto & value) { return std::isnan(value); }))
145+
if (
146+
std::all_of(
147+
joint_commands_.data.cbegin(), joint_commands_.data.cend(),
148+
[](const auto & value) { return std::isnan(value); }))
148149
{
149150
return controller_interface::return_type::OK;
150151
}

0 commit comments

Comments
 (0)