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] committed Nov 5, 2023
1 parent 0c0c8fb commit 0e8c3a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yaqd_mcc/_mcc_152_analogout.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def __init__(self, name, config, config_filepath):
import daqhats # type: ignore

self.d = daqhats.mcc152(self.address)
if float('inf') not in self._config['limits']:
self._state['hw_limits'] = self._config['limits']
if float("inf") not in self._config["limits"]:
self._state["hw_limits"] = self._config["limits"]
else:
self._state['hw_limits'] = [self.d.info()[4], self.d.info()[5]]
self._state["hw_limits"] = [self.d.info()[4], self.d.info()[5]]

def get_address(self):
return self.address
Expand Down

0 comments on commit 0e8c3a8

Please sign in to comment.