Cleanup whitespace errors suppressed for flake8

These errors are no longer suppressed:
 E225 missing whitespace around operator
 E226 missing whitespace around arithmetic operator
 E231 missing whitespace after ','
 E241 multiple spaces after ','

Story: 2003499
Task: 26386
Change-Id: Ic97e46b0a3b57456740a2a5935a8a3e6d3b81427
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This commit is contained in:
Al Bailey 2018-09-11 14:41:16 -05:00
parent edda9455bd
commit 19a881ee2d
22 changed files with 320 additions and 328 deletions

View File

@ -273,12 +273,10 @@ def storeGraphData(procs, dateRange=[], execTime=False, hits=False, plots=1):
prevHitTotal = int(h)
f.close()
hitList[i][0] = None
graphData['trace'+str(i)] = go.Scatter(
x=dateList[i],
graphData['trace' + str(i)] = go.Scatter(x=dateList[i],
y=timeList[i] if execTime else hitList[i],
mode=plotType,
name=(procs[i] if not oneAxis else (procs[i]+"_"+("time" if execTime else "hits")))
)
name=(procs[i] if not oneAxis else (procs[i] + "_" + ("time" if execTime else "hits"))))
if plots == 1:
fig.append_trace(graphData['trace' + str(i)], 1, 1)
elif plots == 2:
@ -296,12 +294,10 @@ def storeGraphData(procs, dateRange=[], execTime=False, hits=False, plots=1):
prevHitTotal = int(h)
f.close()
hitList[i][0] = None
graphData['trace'+str(i)] = go.Scatter(
x=dateList[i],
graphData['trace' + str(i)] = go.Scatter(x=dateList[i],
y=timeList[i] if execTime else hitList[i],
mode=plotType,
name=(procs[i] if not oneAxis else (procs[i]+"_"+("time" if execTime else "hits")))
)
name=(procs[i] if not oneAxis else (procs[i] + "_" + ("time" if execTime else "hits"))))
if plots == 1:
fig.append_trace(graphData['trace' + str(i)], 1, 1)
elif plots == 2:

View File

@ -35,10 +35,6 @@ commands =
# E127 continuation line over-indented for visual indent
# E128 continuation line under-indented for visual indent
# E129 visually indented line with same indent as next logical line
# E225 missing whitespace around operator
# E226 missing whitespace around arithmetic operator
# E231 missing whitespace after ':'
# E241 multiple spaces after
# E261 at least two spaces before inline comment
# E265 block comment should start with '# '
# E501 line too long
@ -55,7 +51,7 @@ commands =
# - flake8 codes -
# F401 '<module>' imported but unused
# F821 undefined name 'unicode' (python3 specific)
ignore = E116,E121,E122,E123,E124,E126,E127,E128,E129,E225,E226,E231,E241,E261,E265,E501,E712,
ignore = E116,E121,E122,E123,E124,E126,E127,E128,E129,E261,E265,E501,E712,
H102,H104,H301,H306,H401,H404,H405,H501,
F401,F821,
# H106 Dont put vim configuration in source files (off by default).