From 235962cd357df1d91f6132d03398d1dffd03674c Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 25 Oct 2025 15:02:49 -0700 Subject: [PATCH] just blacken-docs --- Justfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index 60005a2d..3e7e467a 100644 --- a/Justfile +++ b/Justfile @@ -28,20 +28,23 @@ export DATASETTE_SECRET := "not_a_secret" pipenv run cog -r README.md docs/*.rst # Serve live docs on localhost:8000 -@docs: cog - pipenv run blacken-docs -l 60 docs/*.rst +@docs: cog blacken-docs cd docs && pipenv run make livehtml # Apply Black @black: pipenv run black . +# Apply blacken-docs +@blacken-docs: + pipenv run blacken-docs -l 60 docs/*.rst + # Apply prettier @prettier: npm run fix # Format code with both black and prettier -@format: black prettier +@format: black prettier blacken-docs @serve: pipenv run sqlite-utils create-database data.db