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.
Reviewed: https:/ /review. opendev. org/752286 /git.openstack. org/cgit/ starlingx/ ha/commit/ ?id=57225bb34ae 5380c95dddd0e55 6847f7a17e3d61
Committed: https:/
Submitter: Zuul
Branch: master
commit 57225bb34ae5380 c95dddd0e556847 f7a17e3d61
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: Ida6447728d4175 173c02130cb04a6 013e4f966f9
Partial-Bug: 1895054
Signed-off-by: albailey <email address hidden>