mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 21:42:25 +08:00
packaging is the standard tool for dealing with versions and requirements. This allows us to easily support all PEP 508 specs. packaging also has good error messages, so I don't create our own here. This lets us get rid of our handrolled half parser and sanity checks. I kept the whitespace consistency check, since that's just a formatting lint and isn't testing the correctness of parsing (which we now definitely do correctly).