typeshed-internal / stub_uploader

Scripts and actions to auto-upload typeshed stubs to PyPI
Apache License 2.0
21 stars 16 forks source link

Encapsulate PackageData; use pathlib #119

Closed srittau closed 8 months ago

srittau commented 8 months ago

This is a preliminary refactoring for fixing python/typeshed#11254. The idea is that the new class PackageData encapsulates all data concerning packages and their contents. This allows us later to find the top-level non-namespace packages, instead of just the top-level packages as we are doing now.

srittau commented 8 months ago

@Avasam Could you review this? It should be fairly self-explanatory, even if you are not well-versed with the stub uploader.

Avasam commented 8 months ago

I can do a proper review tomorow. But a first overview from my phone this looks good. This is an area of stub_uploader I'm a bit familiar with.