Run formatter

This commit is contained in:
jonschz 2024-09-14 10:53:04 +02:00
parent bdd7c38ed9
commit be54f50c4c

View File

@ -54,6 +54,7 @@ def reload_module(module: str):
reload_module("lego_util.globals") reload_module("lego_util.globals")
from lego_util.globals import GLOBALS, SupportedModules from lego_util.globals import GLOBALS, SupportedModules
def setup_logging(): def setup_logging():
logging.root.handlers.clear() logging.root.handlers.clear()
formatter = logging.Formatter("%(levelname)-8s %(message)s") formatter = logging.Formatter("%(levelname)-8s %(message)s")
@ -205,7 +206,9 @@ def main():
logger.info("Importing file: %s", GLOBALS.module.orig_filename()) logger.info("Importing file: %s", GLOBALS.module.orig_filename())
repo_root = get_repository_root() repo_root = get_repository_root()
origfile_path = repo_root.joinpath("legobin").joinpath(GLOBALS.module.orig_filename()) origfile_path = repo_root.joinpath("legobin").joinpath(
GLOBALS.module.orig_filename()
)
build_directory = repo_root.joinpath(GLOBALS.module.build_dir_name()) build_directory = repo_root.joinpath(GLOBALS.module.build_dir_name())
recompiledfile_name = f"{GLOBALS.module.recomp_filename_without_extension()}.DLL" recompiledfile_name = f"{GLOBALS.module.recomp_filename_without_extension()}.DLL"
recompiledfile_path = build_directory.joinpath(recompiledfile_name) recompiledfile_path = build_directory.joinpath(recompiledfile_name)