modernize
modernize copied to clipboard
There should be a way to prevent specific lines from being modernized
flake8 has "noqa", it would be nice if there were something similar for python-modernize. This is especially a problem for some of the heuristic based fixers (e.g. dict_six operates on all .values(), .items(), and .keys() methods even if the value isn't a dict).