From 99ba05118891db9dc30f1dca22ad6709775560de Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 29 Jun 2023 07:46:22 -0700 Subject: [PATCH] Fixed spelling error, refs #2089 Also ensure codespell runs as part of just lint --- Justfile | 2 +- docs/metadata.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index e595a266..d349ec51 100644 --- a/Justfile +++ b/Justfile @@ -17,7 +17,7 @@ export DATASETTE_SECRET := "not_a_secret" pipenv run codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt # Run linters: black, flake8, mypy, cog -@lint: +@lint: codespell pipenv run black . --check pipenv run flake8 pipenv run cog --check README.md docs/*.rst diff --git a/docs/metadata.rst b/docs/metadata.rst index 35b8aede..5932cc3a 100644 --- a/docs/metadata.rst +++ b/docs/metadata.rst @@ -189,7 +189,7 @@ Or use ``"sort_desc"`` to sort in descending order: Setting a custom page size -------------------------- -Datasette defaults to displaing 100 rows per page, for both tables and views. You can change this default page size on a per-table or per-view basis using the ``"size"`` key in ``metadata.json``: +Datasette defaults to displaying 100 rows per page, for both tables and views. You can change this default page size on a per-table or per-view basis using the ``"size"`` key in ``metadata.json``: .. code-block:: json