Migrate from pylint to pyflakes and pep8