Skip to content

Commit eb1a8b0

Browse files
committed
wrap argument list instead of disabling lint rule
1 parent d1c581f commit eb1a8b0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

adafruit_esp32spi/adafruit_esp32spi_wifimanager.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ class ESPSPI_WiFiManager:
4444
NORMAL = const(1)
4545
ENTERPRISE = const(2)
4646

47-
# pylint: disable=too-many-arguments, line-too-long
48-
def __init__(self, esp, secrets, status_pixel=None, attempts=2, connection_type=NORMAL, debug=False):
47+
# pylint: disable=too-many-arguments
48+
def __init__(self, esp, secrets, status_pixel=None, attempts=2,
49+
connection_type=NORMAL, debug=False):
4950
"""
5051
:param ESP_SPIcontrol esp: The ESP object we are using
5152
:param dict secrets: The WiFi and Adafruit IO secrets dict (See examples)
@@ -79,7 +80,7 @@ def __init__(self, esp, secrets, status_pixel=None, attempts=2, connection_type=
7980
self.ent_user = secrets['ent_user']
8081
if secrets.get('ent_password'):
8182
self.ent_password = secrets['ent_password']
82-
# pylint: enable=too-many-arguments, line-too-long
83+
# pylint: enable=too-many-arguments
8384

8485
def reset(self):
8586
"""

0 commit comments

Comments
 (0)