Skip to content

Commit 1344274

Browse files
committed
changes according tó comments
1 parent 95cbf31 commit 1344274

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ci/code_checks.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
122122
invgrep -r -E --include '*.py' 'pytest\.warns' pandas/tests/
123123
RET=$(($RET + $?)) ; echo $MSG "DONE"
124124

125-
MSG='Check for pytest raises without context' ; echo $MSG
126-
invgrep -r -E --include '*.py' "[[:space:]] pytest.raises" pandas/tests/
125+
MSG='Check for python2-style file encodings' ; echo $MSG
126+
invgrep -R --include="*.py" -E "# -\*- coding: utf-8 -\*-" pandas scripts
127127
RET=$(($RET + $?)) ; echo $MSG "DONE"
128128

129129
# Check for the following code in testing: `np.testing` and `np.array_equal`
-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

0 commit comments

Comments
 (0)