mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Run formatter
This commit is contained in:
parent
bdd7c38ed9
commit
be54f50c4c
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user