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: I2df3ece427f0c84ce16c1a82f4d9f0c9a5a6982b Partial-Bug: 1895054 Signed-off-by: albailey <Al.Bailey@windriver.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import sys
|
||||
from oslo_config import cfg
|
||||
cfg.CONF(sys.argv[1:], project='fm')
|
||||
from fm.db import migration
|
||||
from fm.db import migration # noqa: E402
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user