mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 21:25:13 +00:00
Result of automatic reformatting (pyupgrade via new pre-commit hook).
This commit is contained in:
parent
88cc350075
commit
3f55b36dbb
@ -133,7 +133,12 @@ def run(args):
|
|||||||
pflush(nb_label, " ".join(["%.3f" % v for v in row]))
|
pflush(nb_label, " ".join(["%.3f" % v for v in row]))
|
||||||
pflush(" Min Mean Max")
|
pflush(" Min Mean Max")
|
||||||
for key, rat in ratios.items():
|
for key, rat in ratios.items():
|
||||||
print(key, "%5.3f %5.3f %5.3f" % (min(rat), sum(rat) / len(rat), max(rat)))
|
print(
|
||||||
|
key,
|
||||||
|
"{:5.3f} {:5.3f} {:5.3f}".format(
|
||||||
|
min(rat), sum(rat) / len(rat), max(rat)
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user