fixed flake8 for shotgun