hayd / pep8radius

PEP8 clean only the parts of the files touched since the last commit, a previous commit or (the merge-base of) a branch.
MIT License
183 stars 9 forks source link

add colour #43

Closed hayd closed 10 years ago

hayd commented 10 years ago

esp. nice with diffs, just like you get with git diff.

_May be simplest just to create a diff_print function to print each line, colour green if startswith +, red if startswith -, and pink background (?) of trailing whitespace (Note: git does this just for + lines, but seems reasonable to do it for both + and -)._

colorama seems like a reasonable choice.