Comment 7 for bug 1895054

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ha (master)

Reviewed: https://review.opendev.org/752286
Committed: https://git.openstack.org/cgit/starlingx/ha/commit/?id=57225bb34ae5380c95dddd0e556847f7a17e3d61
Submitter: Zuul
Branch: master

commit 57225bb34ae5380c95dddd0e556847f7a17e3d61
Author: albailey <email address hidden>
Date: Wed Sep 16 13:01:03 2020 -0500

    Use newer flake8 to run on ubuntu-focal Zuul machines

    flake8 2.5.5 fails on ubuntu-focal zuul machines running python3.8
    with the following error:
    AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'

    The update removes the version constraint to use newer flake8.

    The linters can be run in python3.
    Pylint cannot be run in python3 because mysql-python is not
    compatable, so a new zuul job for pylint is now added.

    The flake8 errors that the newer version raises are all suppressed,
    and some of them should be addressed by someone with familiarity in
    this repo.

    Change-Id: Ida6447728d4175173c02130cb04a6013e4f966f9
    Partial-Bug: 1895054
    Signed-off-by: albailey <email address hidden>