Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mvukov/rules_ros2 into renovate/rul…
Browse files Browse the repository at this point in the history
…es_rust-0.x
  • Loading branch information
mvukov committed Dec 8, 2024
2 parents 687b46c + 5bf154d commit 3e45c75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/chatter/py_talker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions repositories/cyclonedds.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ cmake(
},
no_match_error = "Unsupported build configuration",
),
copts = [
"-w",
],
generate_args = ["-GNinja"],
lib_source = ":all_srcs",
linkopts = selects.with_or(
Expand Down

0 comments on commit 3e45c75

Please sign in to comment.