From fa77c04e0a8b8dd276039c36bccf41ffbdafa30f Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Thu, 18 Aug 2022 05:27:45 +0200 Subject: [PATCH] f4pga/flows: mv module_runner.py runner.py Signed-off-by: Unai Martinez-Corral --- f4pga/flows/__init__.py | 2 +- f4pga/flows/common_modules/io_rename.py | 2 +- f4pga/flows/{module_runner.py => runner.py} | 0 f4pga/flows/stage.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename f4pga/flows/{module_runner.py => runner.py} (100%) diff --git a/f4pga/flows/__init__.py b/f4pga/flows/__init__.py index 2dfe59a..56e4c24 100755 --- a/f4pga/flows/__init__.py +++ b/f4pga/flows/__init__.py @@ -64,7 +64,7 @@ from f4pga.flows.flow_config import ( open_project_flow_cfg, verify_platform_name ) -from f4pga.flows.module_runner import ModRunCtx, module_map, module_exec +from f4pga.flows.runner import ModRunCtx, module_map, module_exec from f4pga.flows.module_inspector import get_module_info from f4pga.flows.stage import Stage from f4pga.flows.argparser import setup_argparser, get_cli_flow_config diff --git a/f4pga/flows/common_modules/io_rename.py b/f4pga/flows/common_modules/io_rename.py index 2b02e40..bd00b8f 100644 --- a/f4pga/flows/common_modules/io_rename.py +++ b/f4pga/flows/common_modules/io_rename.py @@ -41,7 +41,7 @@ Accepted module parameters: """ from f4pga.flows.module import Module, ModuleContext -from f4pga.flows.module_runner import get_module +from f4pga.flows.runner import get_module def _switch_keys(d: 'dict[str, ]', renames: 'dict[str, str]') -> 'dict[str, ]': diff --git a/f4pga/flows/module_runner.py b/f4pga/flows/runner.py similarity index 100% rename from f4pga/flows/module_runner.py rename to f4pga/flows/runner.py diff --git a/f4pga/flows/stage.py b/f4pga/flows/stage.py index c45bb69..bb1ebc8 100644 --- a/f4pga/flows/stage.py +++ b/f4pga/flows/stage.py @@ -19,7 +19,7 @@ from f4pga.flows.common import decompose_depname, resolve_modstr from f4pga.flows.module import Module -from f4pga.flows.module_runner import get_module, module_io +from f4pga.flows.runner import get_module, module_io class StageIO: """