Skip to content

Commit ce13e01

Browse files
committed
suppress warning about too many arguments
1 parent 53c5c14 commit ce13e01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def username_pw_set(self, username: str, password: Optional[str] = None) -> None
393393
if password is not None:
394394
self._password = password
395395

396-
def connect(
396+
def connect( # noqa: PLR0913, too many arguments in function definition
397397
self,
398398
clean_session: bool = True,
399399
host: Optional[str] = None,
@@ -464,7 +464,7 @@ def connect(
464464
raise MMQTTException(exc_msg) from last_exception
465465
raise MMQTTException(exc_msg)
466466

467-
def _connect( # noqa: PLR0912, PLR0915, Too many branches, Too many statements
467+
def _connect( # noqa: PLR0912, PLR0913, PLR0915, Too many branches, Too many arguments, Too many statements
468468
self,
469469
clean_session: bool = True,
470470
host: Optional[str] = None,

0 commit comments

Comments
 (0)