Skip to content

Commit ab26b12

Browse files
author
Beat Buesser
committed
pylint updates
Signed-off-by: Beat Buesser <[email protected]>
1 parent e42ab42 commit ab26b12

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

art/estimators/estimator.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def _update_preprocessing_operations(self):
9898
if self.preprocessing is None:
9999
pass
100100
elif isinstance(self.preprocessing, tuple):
101-
from art.preprocessing.standardisation_mean_std.standardisation_mean_std import StandardisationMeanStd
101+
from art.preprocessing.standardisation_mean_std.numpy import StandardisationMeanStd
102102

103103
self.preprocessing_operations.append(
104104
StandardisationMeanStd(mean=self.preprocessing[0], std=self.preprocessing[1])
@@ -109,7 +109,9 @@ def _update_preprocessing_operations(self):
109109
raise ValueError("Preprocessing argument not recognised.")
110110

111111
@staticmethod
112-
def _set_preprocessing(preprocessing: Optional[Union["PREPROCESSING_TYPE", "Preprocessor"]]) -> Optional["Preprocessor"]:
112+
def _set_preprocessing(
113+
preprocessing: Optional[Union["PREPROCESSING_TYPE", "Preprocessor"]]
114+
) -> Optional["Preprocessor"]:
113115
from art.defences.preprocessor.preprocessor import Preprocessor
114116

115117
if preprocessing is None:

0 commit comments

Comments
 (0)