Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
justmobilize committed Mar 20, 2024
1 parent 3b03687 commit 358d8fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _bleio/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def name(self) -> str:
def name(self, value: str) -> None:
self._name = value

# pylint: disable=too-many-arguments
def start_advertising(
self,
data: Buf,
Expand All @@ -196,6 +197,7 @@ def stop_advertising(self) -> None:
"""Stop sending advertising packets."""
raise NotImplementedError("Advertising not implemented")

# pylint: disable=too-many-arguments
def start_scan(
self,
prefixes: Buf = b"",
Expand Down Expand Up @@ -459,6 +461,7 @@ class Characteristic:
WRITE_NO_RESPONSE = 0x20
"""property: clients may write this characteristic; no response will be sent back"""

# pylint: disable=too-many-arguments
def __init__(
self,
*,
Expand Down
2 changes: 2 additions & 0 deletions _bleio/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Descriptor:
Descriptors are attached to BLE characteristics and provide contextual
information about the characteristic."""

# pylint: disable=too-many-arguments
def __init__(
self,
*,
Expand All @@ -52,6 +53,7 @@ def __init__(
self._characteristic = None
self._bleak_gatt_descriptor = None

# pylint: disable=too-many-arguments
@classmethod
def add_to_characteristic(
cls,
Expand Down
1 change: 1 addition & 0 deletions _bleio/scan_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class ScanEntry:
re.IGNORECASE,
)

# pylint: disable=too-many-arguments
def __init__(
self,
*,
Expand Down

0 comments on commit 358d8fd

Please sign in to comment.