Skip to content

Commit

Permalink
Merge pull request #115 from robberwick/devices-package
Browse files Browse the repository at this point in the history
Tidy up use of devices package
  • Loading branch information
robberwick authored Nov 30, 2024
2 parents 55fa8ef + b4cf814 commit e166311
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/blinkstick/backends/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from typing import TypeVar, Generic

from blinkstick.devices.device import BlinkStickDevice
from blinkstick.devices import BlinkStickDevice

T = TypeVar("T")

Expand Down
2 changes: 1 addition & 1 deletion src/blinkstick/backends/unix_like.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from blinkstick.constants import VENDOR_ID, PRODUCT_ID
from blinkstick.backends.base import BaseBackend
from blinkstick.devices.device import BlinkStickDevice
from blinkstick.devices import BlinkStickDevice
from blinkstick.exceptions import BlinkStickException


Expand Down
2 changes: 1 addition & 1 deletion src/blinkstick/backends/win32.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from blinkstick.constants import VENDOR_ID, PRODUCT_ID
from blinkstick.backends.base import BaseBackend
from blinkstick.devices.device import BlinkStickDevice
from blinkstick.devices import BlinkStickDevice
from blinkstick.exceptions import BlinkStickException


Expand Down
3 changes: 1 addition & 2 deletions src/blinkstick/clients/blinkstick.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
ColorFormat,
)
from blinkstick.constants import BlinkStickVariant
from blinkstick.devices.device import BlinkStickDevice
from blinkstick.exceptions import BlinkStickException
from blinkstick.devices import BlinkStickDevice
from blinkstick.utilities import string_to_info_block_data

if sys.platform == "win32":
Expand Down
3 changes: 3 additions & 0 deletions src/blinkstick/devices/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .device import BlinkStickDevice

__all__ = ["BlinkStickDevice"]

0 comments on commit e166311

Please sign in to comment.