enable flake8 E251: unexpected spaces around keyword / parameter equals

old-commit-hash: ebed2d1dcc53f092696b61fd1e004045c9bde893
This commit is contained in:
Adeeb Shihadeh
2020-05-31 17:34:16 -07:00
parent 9823f1164c
commit 8b3418b0f9
9 changed files with 56 additions and 56 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ if __name__ == "__main__":
for stat_type in ['avg', 'min', 'max']:
msg += '\n {}: {}'.format(stat_type, [name + ':' + str(round(stat[stat_type][name]*100, 2)) for name in cpu_time_names])
l.append((os.path.basename(k), stat['avg']['total'], msg))
l.sort(key= lambda x: -x[1])
l.sort(key=lambda x: -x[1])
for x in l:
print(x[2])
print('avg sum: {0:.2%} over {1} samples {2} seconds\n'.format(