diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index af690f8..0f9eb2e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: # Standard hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -35,7 +35,7 @@ repos: - id: requirements-txt-fixer # Python hooks - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.4 + rev: v0.14.10 hooks: - id: ruff-format - id: ruff @@ -70,7 +70,7 @@ repos: pass_filenames: true # C++ hooks - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v20.1.0 + rev: v21.1.8 hooks: - id: clang-format args: [--style=file] diff --git a/vortex_utils/py_test/test_utils.py b/vortex_utils/py_test/test_utils.py index f6064a0..3ce0a9f 100644 --- a/vortex_utils/py_test/test_utils.py +++ b/vortex_utils/py_test/test_utils.py @@ -4,7 +4,6 @@ import numpy as np import pytest from gi.repository import Gst - from vortex_utils.gst_utils import H264Decoder from vortex_utils.python_utils import ( PoseData, diff --git a/vortex_utils_ros/py_test/test_utils_ros.py b/vortex_utils_ros/py_test/test_utils_ros.py index 03ecbd5..6a4728d 100644 --- a/vortex_utils_ros/py_test/test_utils_ros.py +++ b/vortex_utils_ros/py_test/test_utils_ros.py @@ -1,6 +1,5 @@ import pytest from geometry_msgs.msg import Pose, Twist - from vortex_utils.python_utils import quat_to_euler from vortex_utils_ros.ros_converter import pose_from_ros, twist_from_ros diff --git a/vortex_utils_ros/vortex_utils_ros/ros_converter.py b/vortex_utils_ros/vortex_utils_ros/ros_converter.py index c9f87f9..35688e4 100644 --- a/vortex_utils_ros/vortex_utils_ros/ros_converter.py +++ b/vortex_utils_ros/vortex_utils_ros/ros_converter.py @@ -1,5 +1,4 @@ from geometry_msgs.msg import Pose, Twist - from vortex_utils.python_utils import PoseData, TwistData, quat_to_euler