From 08daa0a6b286504535690ff2d7798636042843d7 Mon Sep 17 00:00:00 2001 From: Joy Bhalla Date: Wed, 1 Apr 2020 23:26:48 +0530 Subject: [PATCH 1/3] Added check for standard pandas reference --- ci/code_checks.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index be6c076952ca1..4e98fe8d65594 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -237,6 +237,11 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then invgrep -RI --exclude=\*.{svg,c,cpp,html,js} --exclude-dir=env "\s$" * RET=$(($RET + $?)) ; echo $MSG "DONE" unset INVGREP_APPEND + + MSG='Check if the pandas word reference is always used in lowercase (pandas) NOT Pandas or PANDAS'; echo $MSG + invgrep -R '*pandas*|Pandas|PANDAS' web/* doc/ + RET = $(($RET + $?)) ; echo $MSG "DONE" + fi ### CODE ### From b1b957cb62a08199942eac2e873e6a1417d9dd2c Mon Sep 17 00:00:00 2001 From: Joy Bhalla Date: Sun, 5 Apr 2020 15:44:40 +0530 Subject: [PATCH 2/3] fixed RET not found error --- ci/code_checks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 4e98fe8d65594..3eaef81fc650c 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -240,7 +240,7 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then MSG='Check if the pandas word reference is always used in lowercase (pandas) NOT Pandas or PANDAS'; echo $MSG invgrep -R '*pandas*|Pandas|PANDAS' web/* doc/ - RET = $(($RET + $?)) ; echo $MSG "DONE" + RET=$(($RET + $?)) ; echo $MSG "DONE" fi From b50e11a4406fc8082593b235e35dbd41548d3aec Mon Sep 17 00:00:00 2001 From: Joy Bhalla Date: Sun, 5 Apr 2020 18:00:39 +0530 Subject: [PATCH 3/3] fixed trailing whitespace error --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 3eaef81fc650c..73b3314e58969 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -241,7 +241,6 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then MSG='Check if the pandas word reference is always used in lowercase (pandas) NOT Pandas or PANDAS'; echo $MSG invgrep -R '*pandas*|Pandas|PANDAS' web/* doc/ RET=$(($RET + $?)) ; echo $MSG "DONE" - fi ### CODE ###