From c4e60fae657e32c5deaae956d8ab8f1662ae0282 Mon Sep 17 00:00:00 2001
From: David Schaefer <david.schaefer@ufz.de>
Date: Thu, 1 Feb 2024 22:04:01 +0100
Subject: [PATCH] black

---
 saqc/funcs/flagtools.py       | 11 +++++++----
 tests/funcs/test_flagtools.py |  3 ---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/saqc/funcs/flagtools.py b/saqc/funcs/flagtools.py
index 5b9c3c646..3ec5d839c 100644
--- a/saqc/funcs/flagtools.py
+++ b/saqc/funcs/flagtools.py
@@ -20,7 +20,13 @@ from saqc.core import DictOfSeries, flagging, register
 from saqc.core.flags import Flags
 from saqc.core.history import History
 from saqc.lib.checking import validateChoice, validateWindow
-from saqc.lib.tools import initializeTargets, isflagged, isunflagged, multivariateParameters, toSequence
+from saqc.lib.tools import (
+    initializeTargets,
+    isflagged,
+    isunflagged,
+    multivariateParameters,
+    toSequence,
+)
 
 if TYPE_CHECKING:
     from saqc import SaQC
@@ -365,9 +371,7 @@ class FlagtoolsMixin:
             },
         }
 
-
         for field, target in zip(fields, targets):
-
             # initialize non existing targets
             if target not in self._data:
                 self._data[target] = pd.Series(np.nan, index=self._data[field].index)
@@ -403,7 +407,6 @@ class FlagtoolsMixin:
 
         return self
 
-
     @flagging()
     def propagateFlags(
         self: "SaQC",
diff --git a/tests/funcs/test_flagtools.py b/tests/funcs/test_flagtools.py
index efadb0219..eb4081bdf 100644
--- a/tests/funcs/test_flagtools.py
+++ b/tests/funcs/test_flagtools.py
@@ -218,6 +218,3 @@ def test_transferFlags():
     assert qc3._history["a"].hist.iloc[:, 0].equals(qc3._history["x"].hist.squeeze())
     assert qc3._history["a"].hist.iloc[:, 1].equals(qc3._history["y"].hist.squeeze())
     assert qc3._history["a"].hist.iloc[:, 2].equals(qc3._history["z"].hist.squeeze())
-
-
-
-- 
GitLab