1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Introduce spelling tests via codespell

This commit is contained in:
Lars Kruse 2020-03-26 03:48:22 +01:00
parent 4cea2f60f9
commit 4d8456af03
4 changed files with 59 additions and 0 deletions

7
Makefile Normal file
View file

@ -0,0 +1,7 @@
.PHONY: lint
lint:
# TODO: add "--ignore-words .codespell.ignore-words" as soon as travis supports a newer
# testing environment (containing codespell 0.11 or later).
find plugins/ -type f -not -name "*.png" -not -name "*.conf" -not -name "*.jar" -print0 \
| xargs -0 codespell \
--exclude-file .codespell.exclude