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'.
This commit is contained in:
Oleh Prypin
2021-10-11 17:37:15 +02:00
committed by GitHub
parent 17a48105e1
commit e579117efe

View File

@@ -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