Enforce 60-char max per full line including spaces
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

- Reduce content max_chars to 48 so that:
  - line_number (up to 2) + spaces (up to 9) + content (48) <= 60.
This commit is contained in:
admin
2026-06-17 17:03:33 +00:00
parent 0947e91f15
commit 0e27537a68
+2 -2
View File
@@ -464,8 +464,8 @@ def create_transcript_docx(text: str, filename: str):
# Configure section properties (margins, no built-in line numbering)
_create_transcript_section_properties(doc.sections[0])
# Max characters per visual line (for 12pt Courier, 1" margins)
max_chars = 60
# Max characters per visual line (content only; total line including line number and spaces <= 60)
max_chars = 48
# Lines per page before restarting numbering
lines_per_page = 29