Skip to content

Commit fa96cd4

Browse files
authored
Darker prefers double quotes and spaces.
1 parent 14ffcfd commit fa96cd4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

openmp/runtime/tools/summarizeStats.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def draw_circle_frame(self, x0, y0, r):
3838

3939
frame_dict = {'polygon': draw_poly_frame, 'circle': draw_circle_frame}
4040
if frame not in frame_dict:
41-
raise ValueError('unknown value for `frame`: %s' % frame)
41+
raise ValueError("unknown value for `frame`: %s" % frame)
4242

4343
class RadarAxes(PolarAxes):
4444
"""
@@ -300,10 +300,10 @@ def main():
300300
chartType = "radar"
301301
drawRadarChart(data, s, filebase, params, colors[n])
302302
"""radar Charts finish here"""
303-
plt.savefig(filebase+"_"+s+"_"+chartType, bbox_inches='tight')
304-
elif s == 'timers':
305-
print("overheads in "+filebase)
306-
numThreads = tmp[s]['SampleCount']['Total_OMP_parallel']
303+
plt.savefig(filebase + "_" + s + "_" + chartType, bbox_inches="tight")
304+
elif s == "timers":
305+
print("overheads in " + filebase)
306+
numThreads = tmp[s]["SampleCount"]["Total_OMP_parallel"]
307307
for key in data.keys():
308308
if key[0:5] == 'Total':
309309
del data[key]

0 commit comments

Comments
 (0)