Skip to content

Commit

Permalink
changes according tó comments
Browse files Browse the repository at this point in the history
  • Loading branch information
topper-123 committed Apr 25, 2019
1 parent 6a20f33 commit 0663e29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
invgrep -r -E --include '*.py' "[[:space:]] pytest.raises" pandas/tests/
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Check for python2-style file encodings' ; echo $MSG
invgrep -R --include="*."{py,pyx} -E "# -\*- coding: utf-8 -\*-" pandas scripts
RET=$(($RET + $?)) ; echo $MSG "DONE"

# Check for the following code in testing: `np.testing` and `np.array_equal`
MSG='Check for invalid testing' ; echo $MSG
invgrep -r -E --include '*.py' --exclude testing.py '(numpy|np)(\.testing|\.array_equal)' pandas/tests/
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/tseries/offsets/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

0 comments on commit 0663e29

Please sign in to comment.