Skip to content

Commit a06c969

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

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ci/code_checks.sh

+4
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
126126
invgrep -r -E --include '*.py' "[[:space:]] pytest.raises" pandas/tests/
127127
RET=$(($RET + $?)) ; echo $MSG "DONE"
128128

129+
MSG='Check for python2-style file encodings' ; echo $MSG
130+
invgrep -R --include="*.py" -E "# -\*- coding: utf-8 -\*-" pandas scripts
131+
RET=$(($RET + $?)) ; echo $MSG "DONE"
132+
129133
# Check for the following code in testing: `np.testing` and `np.array_equal`
130134
MSG='Check for invalid testing' ; echo $MSG
131135
invgrep -r -E --include '*.py' --exclude testing.py '(numpy|np)(\.testing|\.array_equal)' pandas/tests/
-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

0 commit comments

Comments
 (0)