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 24
24
from dataclasses import dataclass
25
25
26
26
from robot .api .deco import keyword # noqa F401
27
- from robot .utils import Importer # noqa F401
28
27
from robot .errors import DataError
28
+ from robot .utils import Importer # noqa F401
29
29
30
30
__version__ = "3.0.1.dev1"
31
31
@@ -101,7 +101,6 @@ class Module:
101
101
102
102
103
103
class DynamicCore (HybridCore ):
104
-
105
104
def run_keyword (self , name , args , kwargs = None ):
106
105
return self .keywords [name ](* args , ** (kwargs or {}))
107
106
@@ -295,9 +294,7 @@ def parse_plugins(self, plugins: str) -> typing.List:
295
294
raise DataError (message )
296
295
plugin = plugin (* parsed_plugin .args , ** parsed_plugin .kw_args )
297
296
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 } "
301
298
raise PluginError (message )
302
299
imported_plugins .append (plugin )
303
300
return imported_plugins
You can’t perform that action at this time.
0 commit comments