mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
codespell: use pyproject.toml to define options and exceptions
This commit is contained in:
parent
ee682abac8
commit
b3cb180e44
3 changed files with 6 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ steps:
|
||||||
- python3 -m venv codespell-venv
|
- python3 -m venv codespell-venv
|
||||||
- source codespell-venv/bin/activate
|
- source codespell-venv/bin/activate
|
||||||
- pip install codespell
|
- pip install codespell
|
||||||
- codespell -Lser,doas,zar,rin README.md INSTALL.md CHANGELOG.md *.c *.h doc/*.scd
|
- codespell
|
||||||
- deactivate
|
- deactivate
|
||||||
|
|
||||||
- name: mypy
|
- name: mypy
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ decisions when appropriate.
|
||||||
Participants in the foot community are expected to uphold the described
|
Participants in the foot community are expected to uphold the described
|
||||||
standards not only in official community spaces (issue trackers, IRC channels,
|
standards not only in official community spaces (issue trackers, IRC channels,
|
||||||
etc.) but in all public spaces. The Code of Conduct however does acknowledge
|
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
|
pattern of unacceptable behavior. That is to say, the scope of the Code of
|
||||||
Conduct does not necessarily extend into the distant past.
|
Conduct does not necessarily extend into the distant past.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,3 +4,7 @@ strict = ['scripts']
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
files = '$MYPY_CONFIG_FILE_DIR/scripts'
|
files = '$MYPY_CONFIG_FILE_DIR/scripts'
|
||||||
strict = true
|
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'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue