Skip to content

Commit c6cfff9

Browse files
committed
"Update ruff pre-commit hook
"
1 parent a4a9f58 commit c6cfff9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111
- id: trailing-whitespace
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.3.4
13+
rev: v0.15.8
1414
hooks:
1515
- id: ruff-format
1616
- id: ruff

examples/usb_host_mouse_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
# add pressed buttons to out str
4949
if pressed_btns is not None and len(pressed_btns) > 0:
50-
out_str += f" {" ".join(pressed_btns)}"
50+
out_str += f" {' '.join(pressed_btns)}"
5151

5252
# update the text label with the new coordinates
5353
# and buttons being pressed

0 commit comments

Comments
 (0)