Fixed all the flake8 errors.