From cbcc7a30b0160535597a8f0916dc0da32918326e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:37:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- socs/actions.py | 1 - socs/agents/lakeshore240/agent.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/socs/actions.py b/socs/actions.py index 33ef39b87..d6ce1a85c 100644 --- a/socs/actions.py +++ b/socs/actions.py @@ -5,7 +5,6 @@ from ocs import ocs_agent - ActionResultType = Optional[Dict[str, Any]] OcsOpReturnType = Tuple[bool, str] diff --git a/socs/agents/lakeshore240/agent.py b/socs/agents/lakeshore240/agent.py index cf4de6177..a3aa60d70 100644 --- a/socs/agents/lakeshore240/agent.py +++ b/socs/agents/lakeshore240/agent.py @@ -11,8 +11,8 @@ from ocs import ocs_agent, site_config from ocs.ocs_twisted import Pacemaker -from socs.Lakeshore.Lakeshore240 import Module from socs.actions import BaseAction, OcsOpReturnType, register_task_from_action +from socs.Lakeshore.Lakeshore240 import Module txaio.use_twisted()