codespell: use pyproject.toml to define options and exceptions

This commit is contained in:
Daniel Eklöf 2025-12-26 14:42:51 +01:00
parent ee682abac8
commit b3cb180e44
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 6 additions and 2 deletions

View file

@ -4,3 +4,7 @@ strict = ['scripts']
[tool.mypy]
files = '$MYPY_CONFIG_FILE_DIR/scripts'
strict = true
[tool.codespell]
skip = 'pyproject.toml,./subprojects,./pkg,./src,./bld,foot.info,./unicode,.*-venv'
ignore-regex = 'terminfo capability `rin`|\* Simon Ser|\* \[zar\]\(https://codeberg.org/zar\)|iterm theme|iterm.toml|iterm/OneHalfDark.itermcolors'