Skip to content

Commit

Permalink
QA: Apply isort suggestions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Feb 12, 2024
1 parent fd78af8 commit 65ea0a2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apa102/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import time
import spidev

import gpiod
import gpiodevice
import spidev
from gpiod.line import Direction, Value

__version__ = '0.0.3'
Expand Down
3 changes: 2 additions & 1 deletion examples/inverted-strip.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import time
from apa102 import APA102
from colorsys import hsv_to_rgb

from apa102 import APA102

lights = APA102(120, 5, 6, None, brightness=0.5, invert=True)

while True:
Expand Down
1 change: 1 addition & 0 deletions examples/keybow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import time

from apa102 import APA102

colors = [
Expand Down
3 changes: 2 additions & 1 deletion examples/plasma-rainbow.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import time
from apa102 import APA102
from colorsys import hsv_to_rgb

from apa102 import APA102

"""
This example should display a rainbow scaled across your LEDs.
Expand Down
1 change: 1 addition & 0 deletions examples/plasma.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import time

from apa102 import APA102

"""
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
that might otherwise have runtime side-effects.
"""
import sys

import mock
import pytest

Expand Down

0 comments on commit 65ea0a2

Please sign in to comment.