Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy up use of devices package #115

Merged
merged 2 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]