This is an initial attempt to add a TypedDict for the pyproject.toml input. Unfortunately, DataFetcher kills all internal static type info so this isn't checked. Working on this primarily for https://github.com/pypa/packaging/issues/647.
PS: I have some ideas to refactor DataFetcher to avoid killing static types (which didn't matter before, as there weren't any). I'll try those out in a few days (traveling for a meeting).
This is an initial attempt to add a TypedDict for the pyproject.toml input. Unfortunately, DataFetcher kills all internal static type info so this isn't checked. Working on this primarily for https://github.com/pypa/packaging/issues/647.