Skip to content

Commit b3952e7

Browse files
committed
Black reformatting
1 parent 0a4eebc commit b3952e7

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

e3dc/_e3dc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ def __init__(self, connectType: int, **kwargs: Any) -> None:
125125
self.key = kwargs["key"]
126126
self.password = kwargs["password"]
127127
self.port = kwargs.get("port", None)
128-
self.rscp = E3DC_RSCP_local(self.username, self.password, self.ip, self.key, self.port)
128+
self.rscp = E3DC_RSCP_local(
129+
self.username, self.password, self.ip, self.key, self.port
130+
)
129131
else:
130132
self._set_serial(kwargs["serialNumber"])
131133
if "isPasswordMd5" in kwargs and not kwargs["isPasswordMd5"]:

e3dc/_e3dc_rscp_local.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ class CommunicationError(Exception):
4444
class E3DC_RSCP_local:
4545
"""A class describing an E3DC system connection using RSCP protocol locally."""
4646

47-
def __init__(self, username: str, password: str, ip: str, key: str, port: int = PORT):
47+
def __init__(
48+
self, username: str, password: str, ip: str, key: str, port: int = PORT
49+
):
4850
"""Constructor of an E3DC RSCP local object.
4951
5052
Args:

0 commit comments

Comments
 (0)