Add flake8 on save
Fix stripping trailing whitespaces