Skip to content

Commit 7c7c7dd

Browse files
committed
pylint: disable=too-many-arguments
1 parent 59ecf71 commit 7c7c7dd

File tree

10 files changed

+19
-5
lines changed

10 files changed

+19
-5
lines changed

adafruit_ble/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from __future__ import annotations
1414

15-
# pylint: disable=wrong-import-position
15+
# pylint: disable=wrong-import-position,too-many-arguments
1616

1717
import sys
1818

adafruit_ble/characteristics/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
from __future__ import annotations
1212

13+
# pylint: disable=too-many-arguments
14+
1315
import struct
1416
import _bleio
1517

adafruit_ble/characteristics/float.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
from __future__ import annotations
1414

15+
# pylint: disable=too-many-arguments
16+
1517
from . import Attribute
1618
from . import StructCharacteristic
1719

adafruit_ble/characteristics/int.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
from __future__ import annotations
1414

15+
# pylint: disable=too-many-arguments
16+
1517
from . import Attribute
1618
from . import StructCharacteristic
1719

adafruit_ble/characteristics/json.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
from __future__ import annotations
1414

15+
# pylint: disable=too-many-arguments
16+
1517
import json
1618
from . import Attribute
1719
from . import Characteristic

adafruit_ble/characteristics/stream.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
from __future__ import annotations
1515

16+
# pylint: disable=too-many-arguments
17+
1618
import _bleio
1719

1820
from . import Attribute
@@ -53,7 +55,7 @@ def write(self, buf: ReadableBuffer) -> None:
5355
class StreamOut(ComplexCharacteristic):
5456
"""Output stream from the Service server."""
5557

56-
def __init__( # pylint: disable=too-many-arguments
58+
def __init__(
5759
self,
5860
*,
5961
uuid: Optional[UUID] = None,
@@ -92,7 +94,7 @@ def bind(
9294
class StreamIn(ComplexCharacteristic):
9395
"""Input stream into the Service server."""
9496

95-
def __init__( # pylint: disable=too-many-arguments
97+
def __init__(
9698
self,
9799
*,
98100
uuid: Optional[UUID] = None,

adafruit_ble/characteristics/string.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
from __future__ import annotations
1414

15+
# pylint: disable=too-many-arguments
16+
1517
from . import Attribute
1618
from . import Characteristic
1719

adafruit_ble/services/standard/device_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class DeviceInfoService(Service):
4646
manufacturer = FixedStringCharacteristic(uuid=StandardUUID(0x2A29))
4747
pnp_id = StructCharacteristic("<BHHH", uuid=StandardUUID(0x2A50))
4848

49-
def __init__(
49+
def __init__( # pylint: disable=too-many-arguments
5050
self,
5151
*,
5252
manufacturer: Optional[str] = None,

adafruit_ble/services/standard/hid.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
from __future__ import annotations
1616

17+
# pylint: disable=too-many-arguments
18+
1719
import struct
1820

1921
from micropython import const

examples/ble_packet_buffer_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, uuid16):
3030

3131

3232
class PacketBufferCharacteristic(ComplexCharacteristic):
33-
def __init__(
33+
def __init__( # pylint: disable=too-many-arguments
3434
self,
3535
*,
3636
uuid=None,

0 commit comments

Comments
 (0)