flake8 fixes to entry points