From 90784c3e37e891cfeb844a94efafea19c111bf87 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Thu, 17 Oct 2024 11:08:18 +0100 Subject: [PATCH] flake8 --- spinn_utilities/safe_eval.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spinn_utilities/safe_eval.py b/spinn_utilities/safe_eval.py index 0d931eb3..fce80c44 100644 --- a/spinn_utilities/safe_eval.py +++ b/spinn_utilities/safe_eval.py @@ -12,9 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -from types import CodeType, ModuleType +from types import ModuleType from typing import Any, Callable, Dict, Union -from typing_extensions import Buffer class SafeEval(object): @@ -46,7 +45,8 @@ class SafeEval(object): """ __slots__ = ["_environment"] - def __init__(self, *args: Union[Callable, ModuleType], **kwargs: Any) -> None: + def __init__(self, *args: Union[Callable, ModuleType], + **kwargs: Any) -> None: """ :param args: The symbols to use to populate the global reference table.