Skip to content

Commit 7268507

Browse files
committed
Black.
1 parent cbfa114 commit 7268507

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

examples/led_animation_all_animations.py

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,29 @@
3232
pixels = neopixel.NeoPixel(pixel_pin, pixel_num, brightness=0.2, auto_write=False)
3333

3434
blink = blink_animation.Blink(pixels, speed=0.5, color=JADE)
35-
colorcycle = colorcycle_animation.ColorCycle(pixels, speed=0.4, colors=[MAGENTA, ORANGE])
36-
comet = comet_animation.Comet(pixels, speed=0.01, color=PURPLE, tail_length=10, bounce=True)
35+
colorcycle = colorcycle_animation.ColorCycle(
36+
pixels, speed=0.4, colors=[MAGENTA, ORANGE]
37+
)
38+
comet = comet_animation.Comet(
39+
pixels, speed=0.01, color=PURPLE, tail_length=10, bounce=True
40+
)
3741
chase = chase_animation.Chase(pixels, speed=0.1, size=3, spacing=6, color=WHITE)
3842
pulse = pulse_animation.Pulse(pixels, speed=0.1, period=3, color=AMBER)
3943
sparkle = sparkle_animation.Sparkle(pixels, speed=0.1, color=PURPLE, num_sparkles=10)
4044
solid = solid_animation.Solid(pixels, color=JADE)
4145
rainbow = rainbow_animation.Rainbow(pixels, speed=0.1, period=2)
42-
sparkle_pulse = sparklepulse_animation.SparklePulse(pixels, speed=0.1, period=3, color=JADE)
43-
rainbow_comet = rainbowcomet_animation.RainbowComet(pixels, speed=0.1, tail_length=7, bounce=True)
46+
sparkle_pulse = sparklepulse_animation.SparklePulse(
47+
pixels, speed=0.1, period=3, color=JADE
48+
)
49+
rainbow_comet = rainbowcomet_animation.RainbowComet(
50+
pixels, speed=0.1, tail_length=7, bounce=True
51+
)
4452
rainbow_chase = rainbowchase_animation.RainbowChase(
4553
pixels, speed=0.1, size=3, spacing=2, wheel_step=8
4654
)
47-
rainbow_sparkle = rainbowsparkle_animation.RainbowSparkle(pixels, speed=0.1, num_sparkles=15)
55+
rainbow_sparkle = rainbowsparkle_animation.RainbowSparkle(
56+
pixels, speed=0.1, num_sparkles=15
57+
)
4858

4959

5060
animations = AnimationSequence(

examples/led_animation_gridmap.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
rainbow_comet_v = rainbowcomet_animation.RainbowComet(
4545
pixel_wing_vertical, speed=0.1, tail_length=7, bounce=True
4646
)
47-
rainbow_v = rainbow_animation.Rainbow(
48-
pixel_wing_vertical, speed=0.1, period=2
49-
)
47+
rainbow_v = rainbow_animation.Rainbow(pixel_wing_vertical, speed=0.1, period=2)
5048
rainbow_chase_h = rainbowchase_animation.RainbowChase(
5149
pixel_wing_horizontal, speed=0.1, size=3, spacing=3
5250
)

examples/led_animation_simpletest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121

2222
pixels = neopixel.NeoPixel(pixel_pin, pixel_num, brightness=0.2, auto_write=False)
2323

24-
comet = comet_animation.Comet(pixels, speed=0.01, color=PURPLE, tail_length=10, bounce=True)
24+
comet = comet_animation.Comet(
25+
pixels, speed=0.01, color=PURPLE, tail_length=10, bounce=True
26+
)
2527
chase = chase_animation.Chase(pixels, speed=0.1, size=3, spacing=6, color=WHITE)
2628

2729
animations = AnimationSequence(comet, chase, advance_interval=5)

0 commit comments

Comments
 (0)