[style] remove trailing whitespace in code
Issue #2010
resolved
Lots of lines with superfluous trailing whitespace in SA codebase, especially "empty" lines. If you feel inclined you could run this over the code:
find -name '*.py' | xargs sed -i 's/ \+$//'
Happy festivus.
Comments (4)
-
repo owner -
Account Deleted Sorry, I'm a vimster.
Alternatively, a mercurial hook?
-
repo owner wow vim ! thought the whole world used emacs.
the hook idea is interesting, ill see if i can look into that.
-
repo owner - changed status to resolved
OK I figured out how to get textmate to just give me an obnoxious pink highlight for all the trailing lines and I have to whack them with a macro, which isn't optimal, but the trailing issue should be to a much lesser degree now. a global sar is in be08ac57ef06eee5dfa8fe9d273a8984ce24ca20 350aed3fdb9f1e73e69655e53f44ca6a91c196da for 0.6/default.
- Log in to comment
right...this is a side effect of TextMate. Are you familiar with any solutions for this within TextMate ?