replace pep8 and pyflakes with flake8 wrapper