From 5f29577f63da506d8099c9a09b1565e4f5d9eeaf Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 5 Apr 2020 15:32:53 +0200 Subject: CI/Circle CI: Add codestyle check Tabs are not allowed, use 4 spaces instead --- contrib/check_codestyle.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/check_codestyle.sh b/contrib/check_codestyle.sh index ee1ab09f219..2f9bd5ef09b 100644 --- a/contrib/check_codestyle.sh +++ b/contrib/check_codestyle.sh @@ -4,7 +4,11 @@ set -e echo "Codestyle check script:" echo -singleLineRegexChecks=("TC_LOG_.+GetCounter" "[[:blank:]]$") +singleLineRegexChecks=( + "TC_LOG_.+GetCounter" + "[[:blank:]]$" + "\t" +) for check in ${singleLineRegexChecks[@]}; do echo " Checking RegEx: '${check}'" @@ -13,7 +17,9 @@ for check in ${singleLineRegexChecks[@]}; do fi done -multiLineRegexChecks=("TC_LOG_[^;]+GetCounter") +multiLineRegexChecks=( + "TC_LOG_[^;]+GetCounter" +) for check in ${multiLineRegexChecks[@]}; do echo " Checking RegEx: '${check}'" -- cgit v1.2.3