pyflakes and some pep8