fix(闸壳): 06b 变更记录节档只报 R4——全规则集归默认档,避免体裁红混入禁设判定

This commit is contained in:
DKChan committed 2026-10-20 05:50:13 +08:00
1 parent e8b6751b6a
commit dafc554093
1 file changed
+3
+3
View File
@@ -337,6 +337,9 @@ def main():
sys.exit(2)
results = [lint_file(p) for p in targets]
if args.changelog_only:
for r in results:
r["issues"] = [i for i in r["issues"] if i.startswith("R4")]
failed = [r for r in results if r["issues"]]
if args.json: