Fix issues found in hotp with new flake8 configuration.