It would be nice if line/block could be excluded from upgrading with a comment like # nopyupgrade or # start nopyupgrade in order to keep specific lines:
i.e. dict(foo="bar") when intended.
We are discussion to include pyupgrade in our teams pipeline but some team mate made this an requirement.
Would / Will this be possible in the future?
Have a glimps look in the source I don't see how to introduce this easily :-/
Any thoughts?
It would be nice if line/block could be excluded from upgrading with a comment like
# nopyupgradeor# start nopyupgradein order to keep specific lines:i.e.
dict(foo="bar")when intended.We are discussion to include
pyupgradein our teams pipeline but some team mate made this an requirement.Would / Will this be possible in the future?
Have a glimps look in the source I don't see how to introduce this easily :-/
Any thoughts?