Closed hayd closed 10 years ago
As mentioned on a related autopep8 issue you can do:
pep8radius master --diff --no-color | cdiff
which is really neat. Note: cdiff may not support windows.
I think maybe just have this as an example in README. Perhaps also show as a git alias:
[alias]
rad = !pep8radius master --diff --no-color $@ | cdiff --side-by-side
allows git rad
and git rad -i
, which are really neat (requires cdiff).
ATM I've rolled my own diff printer, should probably use cdiff - which also allows for paging and side-by-side which would be pretty neat.
Note: I don't think cdiff existed when pep8radius started (I recall looking), I had been considering breaking out my diff printer to a sep lib...