refactor: finish startup settings migration

This commit is contained in:
jxxghp
2026-08-23 03:31:10 +08:00
parent baf4e883b2
commit 48e3eb08ec
11 changed files with 39 additions and 24 deletions
+2 -1
View File
@@ -100,7 +100,8 @@ def collect_configuration_debt_baseline() -> dict[str, Any]:
if not isinstance(node, ast.ImportFrom):
continue
if node.module == "app.runtime.config" and any(
alias.name == "settings" for alias in node.names
alias.name == "settings" and alias.asname in (None, "settings")
for alias in node.names
):
imports_settings = True
if node.module == "app.db.oper.systemconfig":