Skip to content

Commit bf60bc9

Browse files
committed
Format code with black
1 parent a8f93bb commit bf60bc9

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

can/interfaces/ixxat/canlib.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ def _send_periodic_internal(
156156
duration: Optional[float] = None,
157157
modifier_callback: Optional[Callable[[Message], None]] = None,
158158
) -> CyclicSendTaskABC:
159-
return self.bus._send_periodic_internal(msgs, period, duration, modifier_callback)
159+
return self.bus._send_periodic_internal(
160+
msgs, period, duration, modifier_callback
161+
)
160162

161163
def shutdown(self) -> None:
162164
super().shutdown()

can/interfaces/ixxat/canlib_vcinpl.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,6 @@ def get_ixxat_hwids():
945945

946946

947947
def _detect_available_configs():
948-
949948
config_list = [] # list in wich to store the resulting bus kwargs
950949

951950
# used to detect HWID
@@ -981,7 +980,13 @@ def _detect_available_configs():
981980
break
982981
else:
983982
_canlib.canChannelClose(channel_handle)
984-
config_list.append({"interface": "ixxat", "channel": channel, "unique_hardware_id": hwid})
983+
config_list.append(
984+
{
985+
"interface": "ixxat",
986+
"channel": channel,
987+
"unique_hardware_id": hwid,
988+
}
989+
)
985990
_canlib.vciDeviceClose(device_handle2)
986991
_canlib.vciEnumDeviceClose(device_handle)
987992

0 commit comments

Comments
 (0)