Skip to content

Commit cbc2c6b

Browse files
author
Ayowolet
committed
CI: Checking that the modification works on a class
1 parent 689c59a commit cbc2c6b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ci/code_checks.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,8 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
184184
invgrep -R --include="*.rst" ".. ipython ::" doc/source
185185
RET=$(($RET + $?)) ; echo $MSG "DONE"
186186

187-
# Check for blank lines after the class definition
188187
    MSG='Check for extra blank lines after the class definition' ; echo $MSG
189-
    invgrep -R --include="*.py" --include="*.pyx" -E 'class.*:\n\n( )+"""' doc/source/
188+
    invgrep -R --include="*.py" --include="*.pyx" -E 'class.*:\n\n( )+"""' .
190189
    RET=$(($RET + $?)) ; echo $MSG "DONE"
191190

192191
MSG='Check that no file in the repo contains tailing whitespaces' ; echo $MSG

pandas/tests/test_algos.py

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333

3434

3535
class TestMatch:
36+
37+
3638
def test_ints(self):
3739
values = np.array([0, 2, 1])
3840
to_match = np.array([0, 1, 2, 2, 0, 1, 3, 0])

0 commit comments

Comments
 (0)