From e579117efeb5681f37d6185d2144d77aa62dad5f Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Mon, 11 Oct 2021 17:37:15 +0200 Subject: [PATCH] Reduce the range of directories checked by codespell (#2608) The main goal was to exclude translations, because obviously they're not in English. But this also starts with an allowlist on top-level directories because locally myself I had a few false positives such as '.git', 'node_modules'. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 86949857..ad890b63 100644 --- a/tox.ini +++ b/tox.ini @@ -33,7 +33,7 @@ commands= [testenv:codespell] deps=codespell commands= - {envbindir}/codespell . -S '*.min.js' -S 'lunr.*.js' -S lunr.js -S fontawesome-webfont.svg -S .tox -S venv -S tinyseg.js + {envbindir}/codespell mkdocs docs *.* -S .tox -S LC_MESSAGES -S '*.min.js' -S 'lunr*.js' -S fontawesome-webfont.svg -S tinyseg.js [testenv:linkchecker] basepython = python2.7