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

@ -14,7 +14,7 @@ steps:
- python3 -m venv codespell-venv
- source codespell-venv/bin/activate
- pip install codespell
- codespell -Lser,doas,zar,rin README.md INSTALL.md CHANGELOG.md *.c *.h doc/*.scd
- codespell
- deactivate
- name: mypy

View file

@ -53,7 +53,7 @@ decisions when appropriate.
Participants in the foot community are expected to uphold the described
standards not only in official community spaces (issue trackers, IRC channels,
etc.) but in all public spaces. The Code of Conduct however does acknowledge
that people are fallible and that it is possible to truely correct a past
that people are fallible and that it is possible to truly correct a past
pattern of unacceptable behavior. That is to say, the scope of the Code of
Conduct does not necessarily extend into the distant past.

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'