dietmarw/trimtrailingwhitespaces — pull request #31 by thorade (2014-11-21 08:24:45+00:00)
Title: Issue28 normalize eof

This implements EOF normalization, as requested in #28
I implemented it as a new command line option `--eof`, but one could also discuss if EOF normalization should be performed always when trimming white space.
The code that actually does the EOF normalization is
```python
while len(lines) > 1 and not lines[-1]:
lines.pop(-1)
```