From b4e3dbbd18ba02c5abc0a20e158af37fb0c07d5b Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 13 Nov 2019 21:46:40 -0600 Subject: [PATCH] scripts: Fix codespell false-positive. --- scripts/codespell-project.sh | 3 ++- scripts/monado-codespell.exclude | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 scripts/monado-codespell.exclude diff --git a/scripts/codespell-project.sh b/scripts/codespell-project.sh index f685a28f9..a1b3b4686 100755 --- a/scripts/codespell-project.sh +++ b/scripts/codespell-project.sh @@ -28,7 +28,7 @@ SCRIPTDIR=$(cd $(dirname $0) && pwd) find \ *.md \ doc \ - scripts/*.sh \ + scripts/format-*.sh \ src/xrt \ \( -name "*.c" \ -o -name "*.cpp" \ @@ -37,6 +37,7 @@ SCRIPTDIR=$(cd $(dirname $0) && pwd) -o -name "*.md" \ -o -name "CMakeLists.txt" \) \ -exec codespell \ + --exclude-file=${SCRIPTDIR}/monado-codespell.exclude \ --ignore-words-list="${IGNORE_WORDS_LIST}" \ -w \ "$@" \ diff --git a/scripts/monado-codespell.exclude b/scripts/monado-codespell.exclude new file mode 100644 index 000000000..c39fd8d6c --- /dev/null +++ b/scripts/monado-codespell.exclude @@ -0,0 +1 @@ + * @author Simon Ser