installing and running flake8 before running script