Skip to content

Commit 3ecc740

Browse files
author
Guido van Rossum
committed
Fix mypy
1 parent 47b29de commit 3ecc740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ def valid_references(self) -> Set[str]:
19611961

19621962
return valid_refs
19631963

1964-
def write_cache(self, graph) -> None:
1964+
def write_cache(self, graph: Graph) -> None:
19651965
assert self.tree is not None, "Internal error: method must be called on parsed file only"
19661966
if not self.path or self.options.cache_dir == os.devnull:
19671967
return

0 commit comments

Comments
 (0)