1
0

feat: add YAML validation with check command and auto-validation

Implements comprehensive validation before PPTX conversion to catch errors early. Includes element-level validation (colors, fonts, table consistency) and system-level validation (geometry, resources). Supports standalone check command and automatic validation during conversion.
This commit is contained in:
2026-03-02 18:14:45 +08:00
parent d598de27b3
commit 83ff827ad1
16 changed files with 1742 additions and 95 deletions

10
validators/__init__.py Normal file
View File

@@ -0,0 +1,10 @@
"""
验证器模块
提供 YAML 文件验证功能。
"""
from validators.validator import Validator
from validators.result import ValidationResult, ValidationIssue
__all__ = ['Validator', 'ValidationResult', 'ValidationIssue']