From cd8e9e221207a4820972457169e0657949f31909 Mon Sep 17 00:00:00 2001 From: Matthew Macdonald-Wallace Date: Fri, 5 Aug 2022 15:06:37 +0100 Subject: [PATCH] Add the pyspelling default configuration files --- entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 2219b7eb..879b7c03 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,6 +11,12 @@ else SPELLCHECK_CONFIG_FILE=".spellcheck.yaml" elif [ -f "./spellcheck.yml" ]; then SPELLCHECK_CONFIG_FILE="spellcheck.yml" + elif [ -f "./spellcheck.yaml" ]; then + SPELLCHECK_CONFIG_FILE="spellcheck.yaml" + elif [ -f "./.pyspelling.yaml" ]; then + SPELLCHECK_CONFIG_FILE=".pyspelling.yaml" + elif [ -f "./.pyspelling.yml" ]; then + SPELLCHECK_CONFIG_FILE=".pyspelling.yml" else SPELLCHECK_CONFIG_FILE="spellcheck.yaml" fi