rm trailing whitespace flagged by pylint