修复pyflakes，增加pep8