ran flake8 over the whole repository and fixed all but indent warnings