Lines Matching refs:found
21 found="$( GREP_COLORS='mt=41' GREP_COLOR='41' grep $'\t' include tests/*.{cpp,py,h} docs/*.rst -rn --color=always )"
22 if [ -n "$found" ]; then
24 echo -e '\033[31;01mError: found tab characters in the following files:\033[0m'
26 echo "$found" | sed -e 's/^/ /'
30 found="$( grep -IUlr $'\r' include tests/*.{cpp,py,h} docs/*.rst --color=always )"
31 if [ -n "$found" ]; then
32 echo -e '\033[31;01mError: found CRLF characters in the following files:\033[0m'
34 echo "$found" | sed -e 's/^/ /'
37 found="$(GREP_COLORS='mt=41' GREP_COLOR='41' grep '[[:blank:]]\+$' include tests/*.{cpp,py,h} docs/*.rst -rn --color=always )"
38 if [ -n "$found" ]; then
40 echo -e '\033[31;01mError: found trailing spaces in the following files:\033[0m'
42 echo "$found" | sed -e 's/^/ /'
45 found="$(grep '\<\(if\|for\|while\|catch\)(\|){' include tests/*.{cpp,h} -rn --color=always)"
46 if [ -n "$found" ]; then
47 echo -e '\033[31;01mError: found the following coding style problems:\033[0m'
49 echo "$found" | sed -e 's/^/ /'
52 found="$(awk '
64 if [ -n "$found" ]; then
67 echo "$found"