From e2714e262b70afa6c872403dd612cee84a40575a Mon Sep 17 00:00:00 2001 From: Luis Fernando Machado Poletti Valle Date: Thu, 2 Nov 2023 14:48:56 +0100 Subject: [PATCH] Remove mypy issue --- karabo/simulation/telescope.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karabo/simulation/telescope.py b/karabo/simulation/telescope.py index 364c7800..934d0718 100644 --- a/karabo/simulation/telescope.py +++ b/karabo/simulation/telescope.py @@ -174,7 +174,7 @@ def constructor( List of valid versions: {accepted_versions}.""" ) - datapath = datapath.format(version.value) # type: ignore[union-attr] # noqa: E501 + datapath = datapath.format(version.value) # noqa path = os.path.join(get_module_absolute_path(), "data", datapath) return cls.read_OSKAR_tm_file(path)