flake8
Fixes #505