Skip to content

Commit

Permalink
Remove mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lmachadopolettivalle committed Nov 2, 2023
1 parent 7746a5f commit e2714e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karabo/simulation/telescope.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e2714e2

Please sign in to comment.