Skip to content

Commit 11e65d6

Browse files
committed
fix: add docstring and fix line length in convert script
1 parent 10d2c43 commit 11e65d6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/convert-blog-posts-to-qmd.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def _convert_markdown_to_qmd(md_path: Path) -> None:
6464

6565

6666
def main() -> None:
67+
"""Convert blog posts from ipynb/md to qmd format."""
6768
if not BLOG_ROOT.exists():
6869
raise SystemExit(f"Blog directory not found: {BLOG_ROOT}")
6970

@@ -75,7 +76,10 @@ def main() -> None:
7576
for md_path in BLOG_ROOT.rglob("*.md"):
7677
_convert_markdown_to_qmd(md_path)
7778

78-
print("[II] Conversion complete. Review generated .qmd files and commit them.")
79+
print(
80+
"[II] Conversion complete. "
81+
"Review generated .qmd files and commit them."
82+
)
7983

8084

8185
if __name__ == "__main__":

0 commit comments

Comments
 (0)