Skip to content

Commit d1d3fea

Browse files
committed
remove pylint too-many-args disable in favor of max-args in .pylintrc
1 parent 3170d45 commit d1d3fea

File tree

10 files changed

+3
-17
lines changed

10 files changed

+3
-17
lines changed

adafruit_ble/__init__.py

+1-1
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,too-many-arguments
15+
# pylint: disable=wrong-import-position
1616

1717
import sys
1818

adafruit_ble/characteristics/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
from __future__ import annotations
1212

13-
# pylint: disable=too-many-arguments
14-
1513
import struct
1614
import _bleio
1715

adafruit_ble/characteristics/float.py

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
from __future__ import annotations
1414

15-
# pylint: disable=too-many-arguments
16-
1715
from . import Attribute
1816
from . import StructCharacteristic
1917

adafruit_ble/characteristics/int.py

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
from __future__ import annotations
1414

15-
# pylint: disable=too-many-arguments
16-
1715
from . import Attribute
1816
from . import StructCharacteristic
1917

adafruit_ble/characteristics/json.py

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
from __future__ import annotations
1414

15-
# pylint: disable=too-many-arguments
16-
1715
import json
1816
from . import Attribute
1917
from . import Characteristic

adafruit_ble/characteristics/stream.py

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
from __future__ import annotations
1515

16-
# pylint: disable=too-many-arguments
17-
1816
import _bleio
1917

2018
from . import Attribute

adafruit_ble/characteristics/string.py

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
from __future__ import annotations
1414

15-
# pylint: disable=too-many-arguments
16-
1715
from . import Attribute
1816
from . import Characteristic
1917

adafruit_ble/services/standard/device_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class DeviceInfoService(Service):
4545
manufacturer = FixedStringCharacteristic(uuid=StandardUUID(0x2A29))
4646
pnp_id = StructCharacteristic("<BHHH", uuid=StandardUUID(0x2A50))
4747

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

adafruit_ble/services/standard/hid.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
from __future__ import annotations
1616

17-
# pylint: disable=too-many-arguments
18-
1917
import struct
2018

2119
from micropython import const

examples/ble_packet_buffer_service.py

+1-1
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__( # pylint: disable=too-many-arguments
33+
def __init__(
3434
self,
3535
*,
3636
uuid=None,

0 commit comments

Comments
 (0)