From 166789ddc83404d2daa54b5939b2e270bef01fb6 Mon Sep 17 00:00:00 2001 From: Vijay Janapa Reddi Date: Sun, 14 Dec 2025 11:01:47 -0500 Subject: [PATCH] Updates codespell configuration Updates the codespell pre-commit hook configuration to correctly skip JavaScript files. This prevents false positives and ensures accurate spell checking. --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1661e649c..c29bf7871 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,8 +38,8 @@ repos: hooks: - id: codespell name: "Global: Check for common misspellings" - args: ["--skip", "*.json,*.bib,*.min.js,*.tex,_site,_book,node_modules,.venv,htmlcov,bundle.js,glightbox.min.js", "--ignore-words", ".codespell-ignore-words.txt"] - exclude: "^(_site/|_book/|htmlcov/|.*bundle\\.js$|.*\\.min\\.js$)" + args: ["--skip", "*.json,*.bib,*.js,*.tex,_site,_book,node_modules,.venv,htmlcov", "--ignore-words", ".codespell-ignore-words.txt"] + exclude: "^(_site/|_book/|htmlcov/|.*\\.js$)" # =========================================================================== # SECTION 2: BOOK HOOKS (quarto content validation)