The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts: Update codespell script

+11 -6
+11 -6
scripts/codespell-project.sh
··· 1 1 #!/bin/sh 2 - # Copyright 2019, Collabora, Ltd. 2 + # Copyright 2019-2023, Collabora, Ltd. 3 3 # SPDX-License-Identifier: BSL-1.0 4 4 # Author: Ryan Pavlik <ryan.pavlik@collabora.com> 5 5 ··· 19 19 set -e 20 20 21 21 # Comma-delimited list of words for codespell to not try to correct. 22 - IGNORE_WORDS_LIST="ang,sinc,sie,inout,stoll,wil,daa,localy,od" 22 + IGNORE_WORDS_LIST="ang,sinc,sie,inout,stoll,wil,daa,localy,od,ser,unknwn,parm" 23 23 24 - SCRIPTDIR=$(cd $(dirname $0) && pwd) 24 + SCRIPTDIR=$(cd "$(dirname "$0")" && pwd) 25 25 26 26 ( 27 - cd $SCRIPTDIR/.. 27 + cd "$SCRIPTDIR/.." 28 28 find \ 29 - *.md \ 29 + ./*.md \ 30 30 doc \ 31 31 scripts/format-*.sh \ 32 32 src/xrt \ ··· 36 36 -o -name "*.hpp" \ 37 37 -o -name "*.sh" \ 38 38 -o -name "*.md" \ 39 + -o -name "*.comp" \ 40 + -o -name "*.py" \ 41 + -o -name "*.java" \ 42 + -o -name "*.kt" \ 43 + -o -name "*.gradle" \ 39 44 -o -name "CMakeLists.txt" \) \ 40 45 -exec codespell \ 41 - --exclude-file=${SCRIPTDIR}/monado-codespell.exclude \ 46 + "--exclude-file=${SCRIPTDIR}/monado-codespell.exclude" \ 42 47 --ignore-words-list="${IGNORE_WORDS_LIST}" \ 43 48 -w \ 44 49 "$@" \