Fixed assorted flake8 errors.