Closed
Description
Bug Report
mypy --install-types
missing some libraries' type stubs.
To Reproduce
- A project that imports and uses networkx.
mypy --install-types .
- Does not install type stubs for
networkx
.
import networkx
graph = networkx.Graph()
Expected Behavior
mypy --install-types .
should install types-networkx
like it does for many different libraries.
Actual Behavior
Does not
Your Environment
- Python version used:
3.12
(but doesn't work for lower versions as well) - Mypy version used: Not working for both 1.13, 1.14
- Mypy command-line flags:
--install-types .
- Mypy configuration options from
mypy.ini
(and other config files):
show_error_codes = true
exclude = "tests"
check_untyped_defs = true