Pyflakes cleanup to pretty printing