The new version enables a lot of standard flake8 checks, so a few fixes are required. W503 is disabled as it conflicts with W504 and the latter seems to be preferred nowadays. Change-Id: I929ff36eaa47a42bc551f5c37bd40f64bc4f14d0