Fix flake8 warnings and errors
Merge pull request #1 from chromano/master

Fix flake8 warnings and errors