From e44e5dbf64b5f3eb92964fee491bf2ded541bc1b Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Mon, 6 Jul 2026 19:06:11 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=94=A8=20add=20recipe=20to=20refo?= =?UTF-8?q?rmat=20Python=20docstrings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/justfile.jinja | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/template/justfile.jinja b/template/justfile.jinja index a1e0d08..5e26c78 100644 --- a/template/justfile.jinja +++ b/template/justfile.jinja @@ -63,6 +63,16 @@ format-python: uvx ruff check --fix . --config .config/ruff.toml uvx ruff format . --config .config/ruff.toml +# Reformat Python dostrings +format-docstrings: + uvx format-docstring \ + --docstring-style google \ + --include-arg-types false \ + --include-arg-defaults false \ + --include-return-and-yield-types false \ + --fix-rst-backticks false \ + src/ + # Format Markdown files format-md: uvx rumdl fmt --silent