CI: Migrate codespell logic to pyproject.toml

This commit is contained in:
Thaddeus Crews 2024-06-03 10:19:58 -05:00
parent 5f1184e93f
commit 26859357c5
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
2 changed files with 50 additions and 29 deletions

View file

@ -27,3 +27,51 @@ extend-select = [
"E402", # Module level import not at top of file
"F821", # Undefined name
]
[tool.codespell]
enable-colors = ""
write-changes = ""
check-hidden = ""
quiet-level = 3
builtin = "clear,rare,en-GB_to_en-US"
skip = """\
.mailmap,
*.desktop,
*.gitignore,
*.po,
*.pot,
*.rc,
AUTHORS.md,
COPYRIGHT.txt,
core/input/gamecontrollerdb.txt,
core/string/locales.h,
DONORS.md,
editor/project_converter_3_to_4.cpp,
platform/android/java/lib/src/com/*,
platform/web/package-lock.json
"""
ignore-words-list = """\
breaked,
cancelled,
checkin,
colour,
curvelinear,
doubleclick,
expct,
findn,
gird,
hel,
inout,
labelin,
lod,
mis,
nd,
numer,
ot,
outin,
requestor,
te,
textin,
thirdparty,
vai
"""