fix: reduce low-risk pylint issues

This commit is contained in:
jxxghp
2026-05-17 08:01:39 +08:00
parent 0ee9fec1d2
commit 3ee601574c
11 changed files with 28 additions and 18 deletions
+1 -1
View File
@@ -788,7 +788,7 @@ class SkillsChain(ChainBase):
if skill.source_type == "registry":
text_lines.append("社区源,安装前请自行甄别安全性")
if any(skill.source_type == "registry" for skill in page_items):
if any(skill.source_type == "registry" for skill in items):
text_lines.extend(
[
"",