Skip to content

Commit fccec54

Browse files
committed
BLD: fix linting wrt to pandas-dev#15537, changes in location of pandas/src
1 parent d32acaa commit fccec54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/lint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ RET=0
88

99
if [ "$LINT" ]; then
1010

11-
# pandas/src is C code, so no need to search there.
11+
# pandas/_libs/src is C code, so no need to search there.
1212
echo "Linting *.py"
13-
flake8 pandas --filename=*.py --exclude pandas/src
13+
flake8 pandas --filename=*.py --exclude pandas/_libs/src
1414
if [ $? -ne "0" ]; then
1515
RET=1
1616
fi
@@ -46,8 +46,8 @@ if [ "$LINT" ]; then
4646
echo "Linting *.c and *.h"
4747
for path in '*.h' 'period_helper.c' 'datetime' 'parser' 'ujson'
4848
do
49-
echo "linting -> pandas/src/$path"
50-
cpplint --quiet --extensions=c,h --headers=h --filter=-readability/casting,-runtime/int,-build/include_subdir --recursive pandas/src/$path
49+
echo "linting -> pandas/_libs/src/$path"
50+
cpplint --quiet --extensions=c,h --headers=h --filter=-readability/casting,-runtime/int,-build/include_subdir --recursive pandas/_libs/src/$path
5151
if [ $? -ne "0" ]; then
5252
RET=1
5353
fi

0 commit comments

Comments
 (0)