Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and lobis committed Oct 16, 2024
1 parent 0fb875d commit fbdc027
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/hvps/devices/caen/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ def stat(self) -> dict:
),
)
# TODO: check_command_output_and_convert returns an int so make string_number_to_bit_array take an int
check_command_output_and_convert(command.lower(), None, response, _MON_CHANNEL_COMMANDS)
check_command_output_and_convert(
command.lower(), None, response, _MON_CHANNEL_COMMANDS
)
bit_array = string_number_to_bit_array(response)

return {
Expand Down
4 changes: 3 additions & 1 deletion src/hvps/devices/caen/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ def board_alarm_status(self) -> dict:
bd=self.bd,
command=_get_mon_module_command(bd=self.bd, command=command),
)
check_command_output_and_convert("board_alarm_status", None, response, _MON_MODULE_COMMANDS)
check_command_output_and_convert(
"board_alarm_status", None, response, _MON_MODULE_COMMANDS
)
bit_array = string_number_to_bit_array(response)

return {
Expand Down

0 comments on commit fbdc027

Please sign in to comment.