From 103b4decbd2350a74da09b61bc3b26159b9159a2 Mon Sep 17 00:00:00 2001 From: Jeroen Van Goey Date: Tue, 20 Feb 2024 00:41:32 +0200 Subject: [PATCH] fix (typo): Corrected spelling of 'environments' (#2268) * fix (typo): Corrected spelling of 'environments' * ci: add test folder to codespell workflow --- .github/workflows/spellcheck.yml | 1 + Justfile | 1 + docs/codespell-ignore-words.txt | 5 ++++- tests/test-datasette-load-plugins.sh | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 0ce9e10c..907104b8 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -24,3 +24,4 @@ jobs: codespell README.md --ignore-words docs/codespell-ignore-words.txt codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt + codespell tests --ignore-words docs/codespell-ignore-words.txt diff --git a/Justfile b/Justfile index d349ec51..c8a06b52 100644 --- a/Justfile +++ b/Justfile @@ -15,6 +15,7 @@ export DATASETTE_SECRET := "not_a_secret" pipenv run codespell README.md --ignore-words docs/codespell-ignore-words.txt pipenv run codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt pipenv run codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt + pipenv run tests --ignore-words docs/codespell-ignore-words.txt # Run linters: black, flake8, mypy, cog @lint: codespell diff --git a/docs/codespell-ignore-words.txt b/docs/codespell-ignore-words.txt index 0a5de001..1959863f 100644 --- a/docs/codespell-ignore-words.txt +++ b/docs/codespell-ignore-words.txt @@ -1,2 +1,5 @@ -ro alls +fo +ro +te +ths \ No newline at end of file diff --git a/tests/test-datasette-load-plugins.sh b/tests/test-datasette-load-plugins.sh index 03e08bb1..7cc9dde2 100755 --- a/tests/test-datasette-load-plugins.sh +++ b/tests/test-datasette-load-plugins.sh @@ -1,5 +1,5 @@ #!/bin/bash -# This should only run in environemnts where both +# This should only run in environments where both # datasette-init and datasette-json-html are installed PLUGINS=$(datasette plugins)