flake8 2.5.5 fails on ubuntu-focal zuul machines running python3.8
with the following error:
AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'
Fixed:
E117 over-indented
E741 ambiguous variable name
F841 local variable is assigned to but never used
Per-Line-Suppressed:
E402 module level import not at top of file
F632 use ==/!= to compare constant literals
Global Suppress:
W504 line break after binary operator
W605 invalid escape sequence
The suppressed errors can be fixed by later submissions.
Reviewed: https:/ /review. opendev. org/762907 /git.openstack. org/cgit/ starlingx/ fault/commit/ ?id=42a9cfa8829 dba61b78a4784c5 dfbe582e53ec4f
Committed: https:/
Submitter: Zuul
Branch: master
commit 42a9cfa8829dba6 1b78a4784c5dfbe 582e53ec4f
Author: albailey <email address hidden>
Date: Mon Nov 16 13:09:11 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'
Fixed:
E117 over-indented
E741 ambiguous variable name
F841 local variable is assigned to but never used
Per- Line-Suppressed :
E402 module level import not at top of file
F632 use ==/!= to compare constant literals
Global Suppress:
W504 line break after binary operator
W605 invalid escape sequence
The suppressed errors can be fixed by later submissions.
Change-Id: I2df3ece427f0c8 4ce16c1a82f4d9f 0c9a5a6982b
Partial-Bug: 1895054
Signed-off-by: albailey <email address hidden>