From 50c9b992293e1cb4be9efae5a5e5ffa6381aedfa Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sun, 14 Jul 2024 12:21:22 -0400 Subject: split the line and suppress linter barking --- qolab/hardware/i_server/i800.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qolab/hardware/i_server/i800.py') 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) -- cgit v1.2.3