Skip to content

Commit

Permalink
chore(deps): update pre-commit-deps (major) (#396)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Milan Vukov <[email protected]>
  • Loading branch information
renovate[bot] and mvukov authored Dec 8, 2024
1 parent cc17905 commit 19d0a44
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
files: *buildifier_external_files
args: *buildifier_external_args
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand Down Expand Up @@ -58,7 +58,7 @@ repos:
hooks:
- id: clang-format
- repo: https://github.com/cpplint/cpplint
rev: 1.6.1
rev: 2.0.0
hooks:
- id: cpplint
args: ["--filter=-build/c++11,-build/c++14"]
Expand Down
1 change: 1 addition & 0 deletions examples/lifecycle/lifecycle_listener.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <cstdio>
#include <memory>
#include <string>

Expand Down
1 change: 1 addition & 0 deletions examples/lifecycle/lifecycle_service_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

#include <chrono>
#include <cstdio>
#include <memory>
#include <string>
#include <thread>
Expand Down
1 change: 1 addition & 0 deletions examples/lifecycle/lifecycle_talker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

#include <chrono>
#include <cstdio>
#include <iostream>
#include <memory>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions examples/zero_copy/listener.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#include <limits>
#include <memory>
#include <string>

#include "chatter_interface/msg/chatter.hpp"
#include "rclcpp/rclcpp.hpp"
Expand Down
2 changes: 2 additions & 0 deletions examples/zero_copy/talker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#include <chrono>
#include <cstring>
#include <memory>
#include <string>
#include <utility>

#include "chatter_interface/msg/chatter.hpp"
#include "rclcpp/rclcpp.hpp"
Expand Down
1 change: 1 addition & 0 deletions ros2/test/image_common/image_transport_plugins_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include <memory>

#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand Down
1 change: 1 addition & 0 deletions ros2/test/pluginlib/ament_setup_library_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include <memory>

#include "console_bridge/console.h"
#include "gmock/gmock.h"
Expand Down
2 changes: 2 additions & 0 deletions ros2/test/pluginlib/plugin_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <memory>

#include "console_bridge/console.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand Down
2 changes: 2 additions & 0 deletions ros2/test/pluginlib/py_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <memory>

#include "console_bridge/console.h"
#include "pluginlib/class_loader.hpp"
#include "pybind11/pybind11.h"
Expand Down
1 change: 1 addition & 0 deletions ros2/test/rosbag/publisher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <chrono>
#include <memory>
#include <string>

#include "rclcpp/rclcpp.hpp"
#include "std_msgs/msg/string.hpp"
Expand Down
6 changes: 5 additions & 1 deletion ros2/test/rosbag/recorder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "rosbag2_transport/recorder.hpp"
#include <memory>
#include <string>
#include <utility>

#include "rclcpp/rclcpp.hpp"
#include "rosbag2_interfaces/msg/write_split_event.hpp"
#include "rosbag2_storage/storage_options.hpp"
#include "rosbag2_transport/reader_writer_factory.hpp"
#include "rosbag2_transport/record_options.hpp"
#include "rosbag2_transport/recorder.hpp"
#include "std_msgs/msg/string.hpp"

constexpr auto kTopicName = "topic";
Expand Down
2 changes: 2 additions & 0 deletions third_party/foxglove_bridge/foxglove_bridge_node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Adapted from https://github.com/foxglove/ros-foxglove-bridge at 0.5.3.
// In the current setting Bazel rules don't support ROS 2 components, therefore,
// the node is directly instantiated here.
#include <memory>

#include "foxglove_bridge/ros2_foxglove_bridge.hpp"
#include "rclcpp/rclcpp.hpp"

Expand Down
3 changes: 3 additions & 0 deletions third_party/foxglove_bridge/foxglove_bridge_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
// SPDX-License-Identifier: MIT
#include <chrono>
#include <future>
#include <memory>
#include <string>
#include <thread>
#include <vector>

#include "foxglove_bridge/ros2_foxglove_bridge.hpp"
#include "foxglove_bridge/test/test_client.hpp"
Expand Down

0 comments on commit 19d0a44

Please sign in to comment.