diff --git a/render.py b/render.py index 2d53e7d..a1a9eec 100755 --- a/render.py +++ b/render.py @@ -27,6 +27,7 @@ def convert_to_image( width: Optional[int] = None, height: Optional[int] = None, ) -> None: + """Convert an SVG to an image with `inkscape`.""" inkscape_args: List[str] = ["inkscape", str(source), "-o", str(destination)] if width is not None and height is not None: @@ -37,6 +38,7 @@ def convert_to_image( def mat2_image(image: Path) -> None: + """Run `mat2` on the image path.""" run(args=["mat2", "--inplace", image])