asottile / pyupgrade

A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read-only mode

opk12 opened this issue · comments

I want to learn Python idiomatic constructs and lose bad habits, so I'd like to see a warning and fix it manually. The README seems to suggest that auto-fixing is the only mode of operation. I could fix, read the diff and undo the fix, but it would be handy to have a dedicated CLI option.

since you're learning:

  • always start by searching the issue tracker for duplicates (there are many)
  • use version control