aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-12-26 13:42:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-12-26 13:44:56 +0000
commitb3cb180e443ce108b3f051d5eccd80474a058ac8 (patch)
treec056cc3259b592a6dcaf9ea68d7b9b21878367a7
parentmypy: no need to declare None as return type for __init__ (diff)
codespell: use pyproject.toml to define options and exceptions
-rw-r--r--.woodpecker.yaml2
-rw-r--r--CODE_OF_CONDUCT.md2
-rw-r--r--pyproject.toml4
3 files changed, 6 insertions, 2 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml
index ef96efcb..35d52d67 100644
--- a/.woodpecker.yaml
+++ b/.woodpecker.yaml
@@ -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
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index 4b652df6..26ab32a5 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -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.
diff --git a/pyproject.toml b/pyproject.toml
index d561b976..654e632d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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' \ No newline at end of file