1
0
forked from VimPlug/jedi

Update mypy to the latest

This includes updating the ignore comments for things which mypy
now knows about or now complains about, as well as pulling in some
typeshed packages for things outside the standard library.
This commit is contained in:
Peter Law
2023-02-13 19:27:12 +00:00
parent b0025ee6ba
commit 664b10a5c6
6 changed files with 12 additions and 8 deletions
+1 -2
View File
@@ -5,8 +5,7 @@ from typing import Dict, Optional
from jedi.inference.names import AbstractArbitraryName
try:
# https://github.com/python/typeshed/pull/4351 adds pydoc_data
from pydoc_data import topics # type: ignore[import]
from pydoc_data import topics
pydoc_topics: Optional[Dict[str, str]] = topics.topics
except ImportError:
# Python 3.6.8 embeddable does not have pydoc_data.