We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95cbf31 commit c54469bCopy full SHA for c54469b
ci/code_checks.sh
@@ -126,6 +126,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
126
invgrep -r -E --include '*.py' "[[:space:]] pytest.raises" pandas/tests/
127
RET=$(($RET + $?)) ; echo $MSG "DONE"
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
+
133
# Check for the following code in testing: `np.testing` and `np.array_equal`
134
MSG='Check for invalid testing' ; echo $MSG
135
invgrep -r -E --include '*.py' --exclude testing.py '(numpy|np)(\.testing|\.array_equal)' pandas/tests/
pandas/tests/tseries/offsets/__init__.py
@@ -1 +0,0 @@
1
-
0 commit comments