add pyflakes and enable pep8