File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
pandas/tests/tseries/offsets Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
126
126
invgrep -r -E --include ' *.py' " [[:space:]] pytest.raises" pandas/tests/
127
127
RET=$(( $RET + $? )) ; echo $MSG " DONE"
128
128
129
+ MSG=' Check for python2-style file encodings' ; echo $MSG
130
+ invgrep -R --include=" *.{py,pyx}" -E " # -\*- coding: utf-8 -\*-" pandas scripts
131
+ RET=$(( $RET + $? )) ; echo $MSG " DONE"
132
+
129
133
# Check for the following code in testing: `np.testing` and `np.array_equal`
130
134
MSG=' Check for invalid testing' ; echo $MSG
131
135
invgrep -r -E --include ' *.py' --exclude testing.py ' (numpy|np)(\.testing|\.array_equal)' pandas/tests/
Original file line number Diff line number Diff line change 1
-
You can’t perform that action at this time.
0 commit comments