Skip to content

Commit 5e1aac3

Browse files
MattWoodheadzariiii9003
authored andcommitted
Format code with black
1 parent 2c60427 commit 5e1aac3

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
@@ -157,7 +157,9 @@ def _send_periodic_internal(
157157
duration: Optional[float] = None,
158158
modifier_callback: Optional[Callable[[Message], None]] = None,
159159
) -> CyclicSendTaskABC:
160-
return self.bus._send_periodic_internal(msgs, period, duration, modifier_callback)
160+
return self.bus._send_periodic_internal(
161+
msgs, period, duration, modifier_callback
162+
)
161163

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

can/interfaces/ixxat/canlib_vcinpl.py

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

948948

949949
def _detect_available_configs() -> List[AutoDetectedConfig]:
950-
951950
config_list = [] # list in wich to store the resulting bus kwargs
952951

953952
# used to detect HWID
@@ -984,7 +983,13 @@ def _detect_available_configs() -> List[AutoDetectedConfig]:
984983
break
985984
else:
986985
_canlib.canChannelClose(channel_handle)
987-
config_list.append({"interface": "ixxat", "channel": channel, "unique_hardware_id": hwid})
986+
config_list.append(
987+
{
988+
"interface": "ixxat",
989+
"channel": channel,
990+
"unique_hardware_id": hwid,
991+
}
992+
)
988993
_canlib.vciDeviceClose(device_handle2)
989994
_canlib.vciEnumDeviceClose(device_handle)
990995
except AttributeError:

0 commit comments

Comments
 (0)