Ensure all options actually make sense (or are recognised), specifically:
[x] --exclude globs won't work as we use fix_code (rather than file_file) now. Same is probably true for others. (Possible fix for those two is to check off in the files list comprehension... other option is to do it in git/hg command, but tbh I think that is going to be more complicated / unnecessary.)
[x] --list-fixes should be special cased to call autopep8 --list-fixes and exit.
Ensure all options actually make sense (or are recognised), specifically:
--exclude globs
won't work as we usefix_code
(rather thanfile_file
) now. Same is probably true for others. (Possible fix for those two is to check off in the files list comprehension... other option is to do it in git/hg command, but tbh I think that is going to be more complicated / unnecessary.)--list-fixes
should be special cased to callautopep8 --list-fixes
and exit.