diff --git a/dialogy/base/plugin.py b/dialogy/base/plugin.py index cc8c5af7..fac5b71f 100644 --- a/dialogy/base/plugin.py +++ b/dialogy/base/plugin.py @@ -116,7 +116,9 @@ def __call__(self) -> PluginFn: """ return self.plugin - def train(self, training_data: Any) -> Any: # pylint: disable=unused-argument disable=no-self-use + def train( + self, training_data: Any + ) -> Any: # pylint: disable=unused-argument disable=no-self-use """ Train a plugin. @@ -124,7 +126,9 @@ def train(self, training_data: Any) -> Any: # pylint: disable=unused-argument d """ return None - def transform(self, training_data: Any) -> Any: # pylint: disable=unused-argument disable=no-self-use + def transform( + self, training_data: Any + ) -> Any: # pylint: disable=unused-argument disable=no-self-use """ Transform data for a plugin in the workflow. """ diff --git a/dialogy/plugins/text/classification/xlmr.py b/dialogy/plugins/text/classification/xlmr.py index d139cc27..e09adb8f 100644 --- a/dialogy/plugins/text/classification/xlmr.py +++ b/dialogy/plugins/text/classification/xlmr.py @@ -218,4 +218,4 @@ def load(self) -> None: ) def utility(self, *args: Any) -> Any: - return self.inference(*args) # pylint: disable=no-value-for-parameter + return self.inference(*args) # pylint: disable=no-value-for-parameter