From 37b43da50d45f169206db072289c074bc65f979c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 00:03:14 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- yaqd_mks/_mks_multigas_2030.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yaqd_mks/_mks_multigas_2030.py b/yaqd_mks/_mks_multigas_2030.py index f31de9e..f0b5902 100644 --- a/yaqd_mks/_mks_multigas_2030.py +++ b/yaqd_mks/_mks_multigas_2030.py @@ -37,7 +37,7 @@ async def _measure(self): await asyncio.sleep(10) async def poll_gas_names(self): - while True: + while True: print("POLLING GAS NAMES") inner = [f"" for n in range(self._ngasses)] payload = f" {inner}" @@ -48,7 +48,7 @@ async def poll_gas_names(self): async def unpack_response(self, response): if response.status == 200: print(await response.text()) - + async def update_state(self): """Continually monitor and update the current daemon state.""" # If there is no state to monitor continuously, delete this function