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 diff --git a/repositories/repositories.bzl b/repositories/repositories.bzl index e5a9fa28..43d68d36 100644 --- a/repositories/repositories.bzl +++ b/repositories/repositories.bzl @@ -41,9 +41,9 @@ def ros2_workspace_repositories(): http_archive, name = "spdlog", build_file = "@com_github_mvukov_rules_ros2//repositories:spdlog.BUILD.bazel", - sha256 = "1586508029a7d0670dfcb2d97575dcdc242d3868a259742b69f100801ab4e16b", - strip_prefix = "spdlog-1.14.1", - url = "https://github.com/gabime/spdlog/archive/v1.14.1.tar.gz", + sha256 = "9962648c9b4f1a7bbc76fd8d9172555bad1871fdb14ff4f842ef87949682caa5", + strip_prefix = "spdlog-1.15.0", + url = "https://github.com/gabime/spdlog/archive/v1.15.0.tar.gz", ) maybe(