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 Sep 11, 2024
1 parent 0fd6841 commit bbe219b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions socs/agents/lakeshore240/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
import traceback
import warnings
from dataclasses import dataclass, fields
from typing import (
Any, Dict, Generator, Optional, Tuple, Type, Callable, get_args, get_origin,
Union
)
from typing import (Any, Callable, Dict, Generator, Optional, Tuple, Type,
Union, get_args, get_origin)

import txaio # type: ignore
from ocs import ocs_agent, site_config
Expand Down Expand Up @@ -157,6 +155,7 @@ def is_instanceable(t: Type) -> bool:
except Exception:
return False


def get_param_type(t: Type) -> Optional[Type]:
"""
Takes in a dataclass field type and returns a type that is accepted
Expand Down

0 comments on commit bbe219b

Please sign in to comment.