fix(metainfo): type subtitle matcher inputs

This commit is contained in:
jxxghp
2026-09-17 12:51:53 +08:00
parent e2e2758eaa
commit 2f952c371e
2 changed files with 3 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ class WordsMatcher(metaclass=Singleton):
self,
title: str,
subtitle: Optional[str] = None,
custom_words: List[str] = None,
custom_words: Optional[List[str]] = None,
) -> Tuple[str, Optional[str], List[str]]:
"""
预处理标题和副标题,支持跨字段应用集数偏移规则。
@@ -145,7 +145,7 @@ class WordsMatcher(metaclass=Singleton):
self,
title: str,
subtitle: Optional[str],
custom_words: List[str] = None,
custom_words: Optional[List[str]] = None,
) -> Tuple[str, Optional[str], List[str]]:
"""按识别词顺序处理标题,并在需要时更新副标题中的集数。"""
appley_words = []

View File

@@ -1282,7 +1282,7 @@
"operator": 1
},
"app/domain/metainfo.py": {
"arg-type": 6,
"arg-type": 5,
"assignment": 4,
"no-untyped-call": 3,
"no-untyped-def": 1,