python / release-tools

Scripts for making (C)Python releases
41 stars 34 forks source link

Add type hints to `run_release.py` #137

Closed hugovk closed 5 months ago

hugovk commented 5 months ago

For https://github.com/python/release-tools/issues/114.

If temporarily removing run_release.py from the mypy exclude list, this fixes 57% of the errors:

Found 133 errors in 3 files (checked 6 source files)

->

Found 76 errors in 3 files (checked 6 source files)