From ba8cf54908bc90f0775c4b15efe5e18327796402 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 21 Jun 2022 12:28:01 -0700 Subject: [PATCH] Add documentation strings to Justfile, ref #446 --- Justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Justfile b/Justfile index aec0f44..52e6190 100644 --- a/Justfile +++ b/Justfile @@ -1,16 +1,21 @@ +# Run tests and linters @default: test lint +# Run pytest with supplied options @test *options: pipenv run pytest {{options}} +# Run linters: black, flake8, mypy, cog @lint: pipenv run black . --check pipenv run flake8 pipenv run mypy sqlite_utils tests cog --check README.md docs/*.rst +# Rebuild docs with cog @cog: cog -r README.md docs/*.rst +# Apply Black @black: pipenv run black .