Skip to content

Commit 4c0c770

Browse files
authored
Merge pull request #121 from tekktrik/dev/kw-init
Make MQTT__init__ arguments keyword-only
2 parents 27696bb + 6ca8487 commit 4c0c770

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ class MQTT:
141141
# pylint: disable=too-many-arguments,too-many-instance-attributes, not-callable, invalid-name, no-member
142142
def __init__(
143143
self,
144+
*,
144145
broker,
145146
port=None,
146147
username=None,

0 commit comments

Comments
 (0)