test: Expand whitespace checks to docs/ and test/ directories

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-07-01 09:42:09 -04:00
parent e08bb4f196
commit f767bee8ff
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ PYTHON=${BUILD_DIR}/python-env/bin/python
echo "travis_fold:start:check_whitespace" echo "travis_fold:start:check_whitespace"
echo "=============== Check whitespace" echo "=============== Check whitespace"
WS_DIRS="src/ config/ klippy/ scripts/" WS_DIRS="config/ docs/ klippy/ scripts/ src/ test/"
WS_EXCLUDE="-path src/lib -prune -o -path scripts/kconfig -prune" WS_EXCLUDE="-path src/lib -prune -o -path scripts/kconfig -prune"
WS_FILES="-o -name '*.[csh]' -o -name '*.py' -o -name '*.sh'" WS_FILES="-o -name '*.[csh]' -o -name '*.py' -o -name '*.sh'"
WS_FILES="$WS_FILES -o -name '*.md' -o -name '*.cfg'" WS_FILES="$WS_FILES -o -name '*.md' -o -name '*.cfg'"