From e3e4e9728522fc37189f5158d83b7837d64b4b4a Mon Sep 17 00:00:00 2001
From: Tiago Freitas Pereira <tiagofrepereira@gmail.com>
Date: Mon, 15 Jun 2020 19:00:05 +0200
Subject: [PATCH] [black]

---
 bob/bio/base/extractor/Linearize.py       | 2 +-
 bob/bio/base/transformers/preprocessor.py | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/bob/bio/base/extractor/Linearize.py b/bob/bio/base/extractor/Linearize.py
index 27c5ea23..d854303e 100644
--- a/bob/bio/base/extractor/Linearize.py
+++ b/bob/bio/base/extractor/Linearize.py
@@ -32,7 +32,7 @@ class Linearize(Extractor):
 
         data : 1D :py:class:`numpy.ndarray`
           The extracted feature vector, of the desired ``dtype`` (if specified).
-        """
+        """        
         assert isinstance(data, numpy.ndarray)
 
         linear = numpy.reshape(data, data.size)
diff --git a/bob/bio/base/transformers/preprocessor.py b/bob/bio/base/transformers/preprocessor.py
index f91c563c..03f1e150 100644
--- a/bob/bio/base/transformers/preprocessor.py
+++ b/bob/bio/base/transformers/preprocessor.py
@@ -4,6 +4,7 @@
 from sklearn.base import TransformerMixin, BaseEstimator
 from bob.bio.base.preprocessor import Preprocessor
 
+
 class PreprocessorTransformer(TransformerMixin, BaseEstimator):
     """
     Scikit learn transformer for :any:`bob.bio.base.preprocessor.Preprocessor`.
@@ -18,13 +19,13 @@ class PreprocessorTransformer(TransformerMixin, BaseEstimator):
     """
 
     def __init__(
-        self,
-        instance,
-        **kwargs,
+        self, instance, **kwargs,
     ):
 
         if not isinstance(instance, Preprocessor):
-            raise ValueError("`instance` should be an instance of `bob.bio.base.preprocessor.Preprocessor`")
+            raise ValueError(
+                "`instance` should be an instance of `bob.bio.base.preprocessor.Preprocessor`"
+            )
 
         self.instance = instance
         super().__init__(**kwargs)
-- 
GitLab