Skip to content

Commit 34a13cc

Browse files
committed
Fix 18121: Add .pxd linting to lint.sh
1 parent bc69dc6 commit 34a13cc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

ci/lint.sh

+12
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ if [ "$LINT" ]; then
4242
done
4343
echo "Linting *.pxi.in DONE"
4444

45+
echo "Linting *.pxd"
46+
for path in 'src'
47+
do
48+
echo "linting -> pandas/$path"
49+
flake8 pandas/$path --filename=*.pxd --select=E501,E302,E203,E111,E114,E221,E303,E231,E126,F403
50+
if [ $? -ne "0" ]; then
51+
RET=1
52+
fi
53+
54+
done
55+
echo "Linting *.pxd DONE"
56+
4557
# readability/casting: Warnings about C casting instead of C++ casting
4658
# runtime/int: Warnings about using C number types instead of C++ ones
4759
# build/include_subdir: Warnings about prefacing included header files with directory

0 commit comments

Comments
 (0)