Sam & Max: Fix flake8 bug and cleanup formatting.