Add codespell integration, which checks all sources

Add a make target for running `codespell` on all sources.
Skip running codespell on the build directory (we have javascript etc.
in there).
Only emit warnings but do not fail on spelling errors in diagrams.

Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
David Runge 2023-11-02 17:11:13 +01:00
parent cb4ac38e05
commit 82f59746f2
No known key found for this signature in database
GPG key ID: 90D4B9641E092971
2 changed files with 15 additions and 0 deletions

5
book/.codespellrc Normal file
View file

@ -0,0 +1,5 @@
# SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
# SPDX-License-Identifier: CC0-1.0
[codespell]
skip = ./build,./source/diag/*.svg