Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaputko committed Sep 4, 2024
1 parent f913ce0 commit b1431a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion smartsim/entity/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

from __future__ import annotations

import collections
import copy
import textwrap
import typing as t
Expand Down Expand Up @@ -262,7 +263,7 @@ def _build_exe_args(exe_args: t.Union[str, t.Sequence[str], None]) -> t.List[str
if not (
isinstance(exe_args, str)
or (
isinstance(exe_args, list)
isinstance(exe_args, collections.abc.Sequence)
and all(isinstance(arg, str) for arg in exe_args)
)
):
Expand Down

0 comments on commit b1431a7

Please sign in to comment.