Switch from pep8 to flake8

Change-Id: I13a77aac647ca5e47d9451472aa1f79eacefe8ab