#238 Fix pep8 and pyflakes