File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1111from subprocess import check_call , check_output , run # nosec
1212from typing import cast
1313
14+ from mypy_extensions import mypyc_attr
1415from schema_salad .sourceline import SourceLine
1516from spython .main import Client
1617from spython .main .parse .parsers .docker import DockerParser
@@ -146,6 +147,7 @@ def _normalize_sif_id(string: str) -> str:
146147 return string .replace ("/" , "_" ) + ".sif"
147148
148149
150+ @mypyc_attr (allow_interpreted_subclasses = True )
149151def _inspect_singularity_image (path : str ) -> bool :
150152 """Inspect singularity image to be sure it is not an empty directory."""
151153 cmd = [
Original file line number Diff line number Diff line change 33import json
44import shutil
55import subprocess
6+ from collections .abc import Callable
67from pathlib import Path
78from typing import Any
8- from collections .abc import Callable
99
1010import pytest
1111from mypy_extensions import KwArg , VarArg
You can’t perform that action at this time.
0 commit comments