changing pyflakes to flake8 for better checking