Skip to content

Commit aa82c07

Browse files
committed
"Update ruff pre-commit hook
"
1 parent d3eaf5c commit aa82c07

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/neopixel_bouncing_ball.py

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

5151
# Check if the ball is at the bottom to break the loop
5252
if top == num_pixels - 1:
53-
floor_count = floor_count + 1
53+
floor_count += 1
5454
if floor_count == 3:
5555
break
5656

0 commit comments

Comments
 (0)