flake8 + tests