pep8 and pyflakes updates