-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
topic-developerIssues relevant to mypy developersIssues relevant to mypy developers
Description
We could try to get all the Anys out of mypy/config_parser.py, which would prevent other configuration-file type-error crashes. (We will presumably still error, but could emit a friendlier message, as in #19494 and its GitHub issue.) You know... static typing :)
Semi-related: hukkin/tomli#261
Originally posted by @wyattscarpenter in #19494 (comment)
This might be very easy if the ini parser knows/declares what types it gives us (primarily strings?)... could be prohibitively difficult otherwise, or perhaps best addressed in typeshed stubs. I haven't looked into it much yet; I imagine it will be easiest to investigate with an IDE that does type inference and display, and I'm on a bus right now (the opposite situation).
Metadata
Metadata
Assignees
Labels
topic-developerIssues relevant to mypy developersIssues relevant to mypy developers