Option to select specific fixer to run
cgl opened this issue · comments
Description
It would be nice to have the option to specify one or more fixer to apply.
One usecase is to be able to categorise the changes in several different commits, and another usecase is the codebase might not be ready to apply some of the fixes but others.
Yeah that would be nice. I think we could take module names to select like --fixer request_headers
. Would you like to work on a PR?
And perhaps --no-fixer request_headers
to disable a fixer, so that if someone finds a particular fixer problematic, they don't need to stop using the tool.
One workaround is to use grepdiff
to selectively commit fixed lines: https://stackoverflow.com/a/52394658