From a2aed3e20ff6777b722189346e7a76e05ed599b8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:54:30 +0000 Subject: [PATCH 1/2] chore(deps): update pre-commit-deps (#404) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Milan Vukov --- .pre-commit-config.yaml | 6 +++--- examples/chatter/py_talker.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc746104..0ba39e62 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/google/yapf - rev: v0.40.2 + rev: v0.43.0 hooks: - id: yapf args: [-i, --style, .style.yapf] @@ -49,12 +49,12 @@ repos: - id: reorder-python-imports args: [--py37-plus] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.3 + rev: v0.8.1 hooks: - id: ruff args: [--fix, --show-fixes, --exit-non-zero-on-fix] - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v19.1.3 + rev: v19.1.4 hooks: - id: clang-format - repo: https://github.com/cpplint/cpplint diff --git a/examples/chatter/py_talker.py b/examples/chatter/py_talker.py index 516647ee..86f9c48a 100644 --- a/examples/chatter/py_talker.py +++ b/examples/chatter/py_talker.py @@ -27,7 +27,7 @@ def __init__(self): def timer_callback(self): msg = String() - msg.data = 'Hello World: %d' % self.i + msg.data = f'Hello World: {self.i}' self.publisher_.publish(msg) self.get_logger().info(f'Publishing: "{msg.data}"') self.i += 1 From 5bf154d056c5135699cb21ea89e4a07cc70b4c0c Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 3 Dec 2024 22:22:20 +0100 Subject: [PATCH 2/2] Disable warnings for cyclonedds dependency (#399) Co-authored-by: Milan Vukov --- repositories/cyclonedds.BUILD.bazel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repositories/cyclonedds.BUILD.bazel b/repositories/cyclonedds.BUILD.bazel index c530bee5..cf59d571 100644 --- a/repositories/cyclonedds.BUILD.bazel +++ b/repositories/cyclonedds.BUILD.bazel @@ -179,6 +179,9 @@ cmake( }, no_match_error = "Unsupported build configuration", ), + copts = [ + "-w", + ], generate_args = ["-GNinja"], lib_source = ":all_srcs", linkopts = selects.with_or(