From 78502db13e88ef1913b340bd7ec15e98bfa8158d Mon Sep 17 00:00:00 2001 From: Arne Binder Date: Wed, 27 Sep 2023 14:19:54 +0200 Subject: [PATCH] make pre-commit happy --- src/pytorch_ie/metrics/statistics.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pytorch_ie/metrics/statistics.py b/src/pytorch_ie/metrics/statistics.py index c8a5ce4a..05d474c0 100644 --- a/src/pytorch_ie/metrics/statistics.py +++ b/src/pytorch_ie/metrics/statistics.py @@ -132,7 +132,9 @@ def __init__( f"functions that rely on zero values." ) self.aggregation_functions = { - name: func for name, func in self.aggregation_functions.items() if name not in ["mean", "std", "min"] + name: func + for name, func in self.aggregation_functions.items() + if name not in ["mean", "std", "min"] } self.labels = labels