flake8 and tests