pyflakes partial cleanup