mhammond / pywin32

Python for Windows (pywin32) Extensions
4.91k stars 783 forks source link

Removed unused imports found by type-checkers #2124

Closed Avasam closed 8 months ago

Avasam commented 9 months ago

Extracted from and improved over #2102 for ease of review. Removed unused imports spotted by type-checkers. Not removing imports where it's uncertain whether they are causing side-effects. This is mostly manual changes. Then re-ran pycln. Please validate whether some of those unused imports were meant to be re-exported symbols as part of that module's API.