diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2024-11-09 08:50:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 23:50:37 -0800 |
commit | 11d276ab6fc24ad96155940f8aa0b7d0ae382aa5 (patch) | |
tree | fd2d11cbd248657df0d4023c2da2ea2df17bedb9 /lib | |
parent | da1d533877f90610571b72f070c01e13b9729108 (diff) | |
download | spack-11d276ab6fc24ad96155940f8aa0b7d0ae382aa5.tar.gz spack-11d276ab6fc24ad96155940f8aa0b7d0ae382aa5.tar.bz2 spack-11d276ab6fc24ad96155940f8aa0b7d0ae382aa5.tar.xz spack-11d276ab6fc24ad96155940f8aa0b7d0ae382aa5.zip |
Fix style checks on develop (#47518)
`mypy` checks have been accidentally broken by #47213
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/compiler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/compiler.py b/lib/spack/spack/compiler.py index 98c0c22f0a..46382a3d98 100644 --- a/lib/spack/spack/compiler.py +++ b/lib/spack/spack/compiler.py @@ -29,6 +29,7 @@ import spack.util.libc import spack.util.module_cmd import spack.version from spack.util.environment import filter_system_paths +from spack.util.file_cache import FileCache __all__ = ["Compiler"] @@ -776,7 +777,7 @@ class FileCompilerCache(CompilerCache): name = os.path.join("compilers", "compilers.json") - def __init__(self, cache: "spack.caches.FileCacheType") -> None: + def __init__(self, cache: "FileCache") -> None: self.cache = cache self.cache.init_entry(self.name) self._data: Dict[str, Dict[str, Optional[str]]] = {} |