Skip to content

Commit

Permalink
remove pylint too-many-args disable in favor of max-args in .pylintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
dhalbert committed Oct 21, 2024
1 parent 3170d45 commit d1d3fea
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion adafruit_ble/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from __future__ import annotations

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

import sys

Expand Down
2 changes: 0 additions & 2 deletions adafruit_ble/characteristics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

from __future__ import annotations

# pylint: disable=too-many-arguments

import struct
import _bleio

Expand Down
2 changes: 0 additions & 2 deletions adafruit_ble/characteristics/float.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

from __future__ import annotations

# pylint: disable=too-many-arguments

from . import Attribute
from . import StructCharacteristic

Expand Down
2 changes: 0 additions & 2 deletions adafruit_ble/characteristics/int.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

from __future__ import annotations

# pylint: disable=too-many-arguments

from . import Attribute
from . import StructCharacteristic

Expand Down
2 changes: 0 additions & 2 deletions adafruit_ble/characteristics/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

from __future__ import annotations

# pylint: disable=too-many-arguments

import json
from . import Attribute
from . import Characteristic
Expand Down
2 changes: 0 additions & 2 deletions adafruit_ble/characteristics/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

from __future__ import annotations

# pylint: disable=too-many-arguments

import _bleio

from . import Attribute
Expand Down
2 changes: 0 additions & 2 deletions adafruit_ble/characteristics/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

from __future__ import annotations

# pylint: disable=too-many-arguments

from . import Attribute
from . import Characteristic

Expand Down
2 changes: 1 addition & 1 deletion adafruit_ble/services/standard/device_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class DeviceInfoService(Service):
manufacturer = FixedStringCharacteristic(uuid=StandardUUID(0x2A29))
pnp_id = StructCharacteristic("<BHHH", uuid=StandardUUID(0x2A50))

def __init__( # pylint: disable=too-many-arguments
def __init__(
self,
*,
manufacturer: Optional[str] = None,
Expand Down
2 changes: 0 additions & 2 deletions adafruit_ble/services/standard/hid.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

from __future__ import annotations

# pylint: disable=too-many-arguments

import struct

from micropython import const
Expand Down
2 changes: 1 addition & 1 deletion examples/ble_packet_buffer_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self, uuid16):


class PacketBufferCharacteristic(ComplexCharacteristic):
def __init__( # pylint: disable=too-many-arguments
def __init__(
self,
*,
uuid=None,
Expand Down

0 comments on commit d1d3fea

Please sign in to comment.