From 570a7b0be0604271388b42e52a418be227b23502 Mon Sep 17 00:00:00 2001 From: starfall <1186454801@qq.com> Date: Mon, 9 Dec 2024 23:05:25 +0800 Subject: [PATCH] fix --- README.md | 2 +- tests/test_a_registry.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fb66036..7d8c307 100644 --- a/README.md +++ b/README.md @@ -403,7 +403,7 @@ module_dict, run_info = config.build_all(layz_cfg)
:sparkles:Module validation and lazy assignment -Validate parameters of modules before their initialization and call, which will save time from some serial long initialization. +Validate parameters of modules before their initialization and call, which will save time from some serial long initialization. If there is any parameter missing, you can manually assign it to avoid crushing. It will be parsed to str, int, list, tuple, or dict. diff --git a/tests/test_a_registry.py b/tests/test_a_registry.py index d2c6f61..c19da02 100644 --- a/tests/test_a_registry.py +++ b/tests/test_a_registry.py @@ -2,13 +2,13 @@ import pytest -from excore import Registry, load_registries, _enable_excore_debug +from excore import Registry, _enable_excore_debug, load_registries load_registries() _enable_excore_debug() -import source_code as S +import source_code as S # noqa def test_print():