aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/i_server
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 12:21:22 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 12:27:49 -0400
commit50c9b992293e1cb4be9efae5a5e5ffa6381aedfa (patch)
tree9fe5eb1271cd2394a97971d2b08b23ff9cd33ea8 /qolab/hardware/i_server
parenteec4d22d847f2cd3e35386583620a9fc63829207 (diff)
downloadqolab-50c9b992293e1cb4be9efae5a5e5ffa6381aedfa.tar.gz
qolab-50c9b992293e1cb4be9efae5a5e5ffa6381aedfa.zip
split the line and suppress linter barking
Diffstat (limited to 'qolab/hardware/i_server')
-rw-r--r--qolab/hardware/i_server/i800.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qolab/hardware/i_server/i800.py b/qolab/hardware/i_server/i800.py
index 0f2a8e0..1b8cec6 100644
--- a/qolab/hardware/i_server/i800.py
+++ b/qolab/hardware/i_server/i800.py
@@ -61,7 +61,8 @@ class I800(BasicInstrument):
if lreply[0:5] != f"{modbus_cmnd}":
# check the proper echo response
logger.warning(
- f"Warning: expected {modbus_cmnd} but got {lreply[0:5]} in full set {reply}"
+ f"Warning: expected {modbus_cmnd} but got {lreply[0:5]}"
+ + f" in full set {reply}" # noqa: W503
)
if trials > 0:
return self.query(cmnd, trials - 1)