asottile / pyupgrade

A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
MIT License
3.58k stars 182 forks source link

Rewrite six.moves.winreg to winreg #886

Closed benjamb closed 1 year ago

benjamb commented 1 year ago

Currently six.moves.winreg is not rewritten by calls to pyupgrade.

This may belong instead to https://github.com/asottile/reorder-python-imports, but it's worth tracking here as well.

asottile commented 1 year ago

no need for two issues. please next time just make one

benjamb commented 1 year ago

Sure, though I must admit I only really paid attention to the fact both projects belonged to your namespace after the fact.