Skip to content

Commit

Permalink
chore(deps): update pre-commit-deps (#404)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Milan Vukov <[email protected]>
  • Loading branch information
renovate[bot] and mvukov authored Dec 3, 2024
1 parent e138980 commit a2aed3e
Show file tree
Hide file tree
Showing 2 changed files with 4 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

0 comments on commit a2aed3e

Please sign in to comment.