Added flake8 check

Change-Id: I38cadb4fc9329811a7c5fbbadd794cd54caf5f5c