flake8 2.5.5 fails on ubuntu-focal zuul machines running python3.8
with the following error:
AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'
Suppresses the following:
W503 line break before binary operator
W504 line break after binary operator
W605 invalid escape sequence '\d'
E117 over-indented
E266 too many leading '#' for block comment
E305 expected 2 blank lines after class or function definition, found 1
E402 module level import not at top of file
E722 do not use bare 'except'
E741 ambiguous variable name 'I'
F632 use ==/!= to compare constant literals
F821 undefined name 'dpdk' (this is a flake8 bug)
Reviewed: https:/ /review. opendev. org/761668 /git.openstack. org/cgit/ starlingx/ monitoring/ commit/ ?id=ee7ae99d418 1293368fb1d5bce 4e6e69ccffd815
Committed: https:/
Submitter: Zuul
Branch: master
commit ee7ae99d4181293 368fb1d5bce4e6e 69ccffd815
Author: albailey <email address hidden>
Date: Thu Nov 5 14:56:47 2020 -0600
Use newer flake8 on python3.8 zuul systems
flake8 2.5.5 fails on ubuntu-focal zuul machines running python3.8
with the following error:
AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'
Suppresses the following:
W503 line break before binary operator
W504 line break after binary operator
W605 invalid escape sequence '\d'
E117 over-indented
E266 too many leading '#' for block comment
E305 expected 2 blank lines after class or function definition, found 1
E402 module level import not at top of file
E722 do not use bare 'except'
E741 ambiguous variable name 'I'
F632 use ==/!= to compare constant literals
F821 undefined name 'dpdk' (this is a flake8 bug)
Change-Id: I6c2ef05d765b57 b7be0b038d6e384 cb2af589054
Partial-Bug: 1895054
Signed-off-by: albailey <email address hidden>