function check flake8 before pushing