flynt icon indicating copy to clipboard operation
flynt copied to clipboard

Super aggressive mode ?

Open Nodd opened this issue 2 years ago • 0 comments

Hello, First of all thanks for the awesome tool! Would you consider adding a super aggressive mode ? I understand the potential problems about %d in #59. The workaround works fine, but in my codebase %d (or %i) is not used to convert the value, but just because the value to be stringified is an int. So in my case I have no need to add calls to int() and I'd like to simply have f"{my_int}" instead of f"{int(my_int)". This behavior could be added as a super aggressive mode -aa, or -ti for --transform-ints.

Nodd avatar Mar 02 '23 20:03 Nodd