Fix Pep8 and Pyflakes