Closed
Description
[juke@jhebert:~/snip/python/config] 1 % cat config.py
import configparser
c = configparser.ConfigParser()
c.read("file")
c.get("foo", "bar")
[juke@jhebert:~/snip/python/config] % mypy config.py
config.py:4: error: Argument 2 to "get" of "Mapping" has incompatible type "str"; expected Dict[str, str]
Metadata
Metadata
Assignees
Labels
No labels