Skip to content

Commit

Permalink
Fix style checks on develop (spack#47518)
Browse files Browse the repository at this point in the history
`mypy` checks have been accidentally broken by spack#47213
  • Loading branch information
alalazo authored Nov 9, 2024
1 parent da1d533 commit 11d276a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/spack/spack/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down Expand Up @@ -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]]] = {}
Expand Down

0 comments on commit 11d276a

Please sign in to comment.