From f2fc074d2de1ce44a9cf1cccf8e04cef47b79231 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 14 Jan 2024 19:03:14 +0100 Subject: [PATCH] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 354f955c4b2..cbdcf50f64b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -92,6 +92,8 @@ repos: - id: codespell # Due to a current limitation of configuration files, # we can specify two dicts only on the CLI. + # You can update the contents of the exclude-file codespell-lines-ignore with the script + # dev/tools/codespell/addCodespellIgnores.sh args: - -D - '-' @@ -99,6 +101,10 @@ repos: - dev/tools/codespell/codespell-dict.txt - -I - dev/tools/codespell/codespell-ignore.txt + - X + - dev/tools/codespell/codespell-lines-ignore.txt + - --uri-ignore-words-list + - ned exclude: (?x)^(.phan/stubs/.*)$ additional_dependencies: [tomli] - alias: codespell-lang-en_US @@ -118,6 +124,10 @@ repos: - "creat,unitl,alltime,datas,referers" - -I - dev/tools/codespell/codespell-ignore.txt + - X + - dev/tools/codespell/codespell-lines-ignore.txt + - --uri-ignore-words-list + - ned # Check some shell scripts - repo: https://github.com/shellcheck-py/shellcheck-py