Annotate top level items mypy needs annotating

This commit is contained in:
Peter Law committed 2020-07-24 16:10:34 +01:00
1 parent f98a9f7999
commit 1418aada91
4 files changed
+12 -5

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@ import os
import re
from functools import wraps
from collections import namedtuple
from typing import Dict, Mapping, Tuple
from pathlib import Path
from jedi import settings
@@ -74,7 +75,7 @@ def _get_typeshed_directories(version_info):
yield PathInfo(str(base_path.joinpath(check_version)), is_third_party)
_version_cache = {}
_version_cache: Dict[Tuple[int, int], Mapping[str, PathInfo]] = {}
def _cache_stub_file_map(version_info):