pypa / pyproject-metadata

PEP 621 metadata parsing
https://pep621.readthedocs.io
MIT License
37 stars 17 forks source link

feat(types): Add TypedDict #128

Closed henryiii closed 1 month ago

henryiii commented 2 months ago

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.

henryiii commented 2 months ago

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).