Fixed some flake8 formatting errors.