Fix style checks on develop (#47518)

`mypy` checks have been accidentally broken by #47213
This commit is contained in:
Massimiliano Culpo 2024-11-09 08:50:37 +01:00 committed by GitHub
parent da1d533877
commit 11d276ab6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,7 @@
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]]] = {}