File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 2424from dataclasses import dataclass
2525
2626from robot .api .deco import keyword # noqa F401
27- from robot .utils import Importer # noqa F401
2827from robot .errors import DataError
28+ from robot .utils import Importer # noqa F401
2929
3030__version__ = "3.0.1.dev1"
3131
@@ -101,7 +101,6 @@ class Module:
101101
102102
103103class DynamicCore (HybridCore ):
104-
105104 def run_keyword (self , name , args , kwargs = None ):
106105 return self .keywords [name ](* args , ** (kwargs or {}))
107106
@@ -295,9 +294,7 @@ def parse_plugins(self, plugins: str) -> typing.List:
295294 raise DataError (message )
296295 plugin = plugin (* parsed_plugin .args , ** parsed_plugin .kw_args )
297296 if self ._base_class and not isinstance (plugin , self ._base_class ):
298- message = (
299- f"Plugin does not inherit { self ._base_class } "
300- )
297+ message = f"Plugin does not inherit { self ._base_class } "
301298 raise PluginError (message )
302299 imported_plugins .append (plugin )
303300 return imported_plugins
You can’t perform that action at this time.
0 commit comments