-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colored diff output #307
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As is, to get colored diff output, one needs to use an external tool like
colordiff
to color the diff for readability, however this also seems to complicate the "checking" feature of returning an error code if changes are needed. It would be convenient and useful to be able to just pass an argument toautoflake
for whether or not to color the diff output.Unfortunately,
difflib
does not seem to have a way to get colored output, but I did find this gist which could possibly be helpful (particularly the comments).The text was updated successfully, but these errors were encountered: