From c6c9aaef510c5ff9d4257cbcbdeec53718d99c3a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 18:46:18 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v20.1.7](https://github.com/pre-commit/mirrors-clang-format/compare/v17.0.6...v20.1.7) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/psf/black: 23.12.0 → 25.1.0](https://github.com/psf/black/compare/23.12.0...25.1.0) - [github.com/PyCQA/flake8: 6.1.0 → 7.3.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.3.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 340cc29..5f3cb85 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,12 +2,12 @@ ci: autoupdate_branch: 'devel' repos: - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v17.0.6 + rev: v20.1.7 hooks: - id: clang-format args: [--style=Google] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -25,11 +25,11 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 23.12.0 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.3.0 hooks: - id: flake8 - repo: https://github.com/cheshirekow/cmake-format-precommit From 110a42aa61a09a9f67be267bb7230fdcf2a725a9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 18:47:10 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/roscontrol-sot-controller.cpp | 2 +- tests/test_log.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roscontrol-sot-controller.cpp b/src/roscontrol-sot-controller.cpp index 5650bbd..73d79fa 100644 --- a/src/roscontrol-sot-controller.cpp +++ b/src/roscontrol-sot-controller.cpp @@ -326,7 +326,7 @@ bool RCSotController::initInterfaces(lhi::RobotHW *robot_hw, ros::NodeHandle &, #endif if (verbosity_level_ > 0) ROS_INFO_STREAM("Initialization of sot-controller Ok !"); - // success + // success #ifdef CONTROLLER_INTERFACE_NOETIC state_ = ControllerState::INITIALIZED; #else diff --git a/tests/test_log.py b/tests/test_log.py index 9c273f7..234e601 100644 --- a/tests/test_log.py +++ b/tests/test_log.py @@ -2,6 +2,7 @@ This file tests the output of executable sot-test-log compiled from tests/sot-test-log.cc. """ + import unittest import subprocess import csv