Skip to content

Commit

Permalink
refactor: devices should be a proper package
Browse files Browse the repository at this point in the history
  • Loading branch information
robberwick committed Nov 30, 2024
1 parent 55fa8ef commit 3d5965f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 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
2 changes: 1 addition & 1 deletion src/blinkstick/clients/blinkstick.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
ColorFormat,
)
from blinkstick.constants import BlinkStickVariant
from blinkstick.devices.device import BlinkStickDevice
from blinkstick.devices import BlinkStickDevice
from blinkstick.exceptions import BlinkStickException
from blinkstick.utilities import string_to_info_block_data

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 3d5965f

Please sign in to comment.