Remove Python from report validation and rendering

This commit is contained in:
gitea committed 2026-10-12 14:02:44 +08:00
1 parent c1a5cc20e9
commit fb7948307c
19 files changed
+743 -90

No files matched your search

+3 -4
View File
@@ -631,8 +631,8 @@ export const HELP_REGISTRY: AreaHelp[] = [
{
name: "validate",
summary: "Check a local report's structure, images, totals, and formulas",
usage: ["seal-use report validate <报告.md> [--python <executable>]"],
options: [{ flag: "--python <executable>", description: "Python 3 executable; defaults to python3 on PATH" }],
usage: ["seal-use report validate <报告.md>"],
options: [],
description: "Local only: no --corp, credentials, or Seal requests. Returns JSON issues; exit 1 if validation fails."
},
{
@@ -643,11 +643,10 @@ export const HELP_REGISTRY: AreaHelp[] = [
{ flag: "--out <stem>", description: "Output filename stem; extensions are appended" },
{ flag: "--format <format>", description: "all (default), html, png, or pdf; PNG/PDF also produce HTML" },
{ flag: "--width <px>", description: "PNG viewport width, default 1200 (320–5000)" },
{ flag: "--python <executable>", description: "Python 3 executable; defaults to python3 on PATH" },
{ flag: "--chrome <executable>", description: "Chrome/Chromium executable; otherwise auto-detected" },
{ flag: "--overwrite", description: "Explicitly permit replacing existing output files after successful rendering" }
],
description: "No enterprise login. Validation failure produces JSON issues and no artifacts. Requires Python 3; PNG/PDF also need Chrome/Chromium, PNG needs Pillow. First use of math fetches and caches KaTeX resources. Markdown parsing is bundled, with no runtime npm/npx dependency."
description: "No enterprise login. Validation failure produces JSON issues and no artifacts. Validation and HTML use the bundled runtime; PNG/PDF need Chrome/Chromium. No Python or Pillow required. First use of math fetches and caches KaTeX resources. Markdown parsing is bundled, with no runtime npm/npx dependency."
},
{
name: "review set",