File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -102,17 +102,17 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then
102102
103103 MSG=' Check for use of not concatenated strings' ; echo $MSG
104104 if [[ " $GITHUB_ACTIONS " == " true" ]]; then
105- $BASE_DIR /scripts/validate_string_concatenation .py --validation-type=" strings_to_concatenate" --format=" ##[error]{source_path}:{line_number}:{msg}" .
105+ $BASE_DIR /scripts/validate_unwanted_patterns .py --validation-type=" strings_to_concatenate" --format=" ##[error]{source_path}:{line_number}:{msg}" .
106106 else
107- $BASE_DIR /scripts/validate_string_concatenation .py --validation-type=" strings_to_concatenate" .
107+ $BASE_DIR /scripts/validate_unwanted_patterns .py --validation-type=" strings_to_concatenate" .
108108 fi
109109 RET=$(( $RET + $? )) ; echo $MSG " DONE"
110110
111111 MSG=' Check for strings with wrong placed spaces' ; echo $MSG
112112 if [[ " $GITHUB_ACTIONS " == " true" ]]; then
113- $BASE_DIR /scripts/validate_string_concatenation .py --validation-type=" strings_with_wrong_placed_whitespace" --format=" ##[error]{source_path}:{line_number}:{msg}" .
113+ $BASE_DIR /scripts/validate_unwanted_patterns .py --validation-type=" strings_with_wrong_placed_whitespace" --format=" ##[error]{source_path}:{line_number}:{msg}" .
114114 else
115- $BASE_DIR /scripts/validate_string_concatenation .py --validation-type=" strings_with_wrong_placed_whitespace" .
115+ $BASE_DIR /scripts/validate_unwanted_patterns .py --validation-type=" strings_with_wrong_placed_whitespace" .
116116 fi
117117 RET=$(( $RET + $? )) ; echo $MSG " DONE"
118118
Original file line number Diff line number Diff line change 22
33import pytest
44
5- # TODO: change this import to "import validate_unwanted_patterns"
6- # when renaming "scripts/validate_string_concatenation.py" to
7- # "scripts/validate_unwanted_patterns.py"
8- import validate_string_concatenation as validate_unwanted_patterns
5+ import validate_unwanted_patterns
96
107
118class TestBarePytestRaises :
File renamed without changes.
You can’t perform that action at this time.
0 commit comments