Skip to content

Commit c43be31

Browse files
committed
fix(config): always validate configuration regardless of registration
1 parent 94330a2 commit c43be31

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

qlib/config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ def register_from_C(config, skip_register=True):
133133

134134

135135
C.set_conf_from_C(config)
136-
137-
if not skip_register:
138-
C.validate()
136+
C.validate()
139137

140138
if C.logging_config:
141139
set_log_with_config(C.logging_config)

0 commit comments

Comments
 (0)