Skip to content

Commit c468436

Browse files
jbrockmendeljorisvandenbossche
authored andcommitted
STYLE/CI: implement incremental linting for asv benchmarks (#18647)
1 parent fdba133 commit c468436

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ci/lint.sh

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ if [ "$LINT" ]; then
2323
fi
2424
echo "Linting setup.py DONE"
2525

26+
echo "Linting asv_bench/benchmarks/"
27+
flake8 asv_bench/benchmarks/ --exclude=asv_bench/benchmarks/[ghijoprst]*.py --ignore=F811
28+
if [ $? -ne "0" ]; then
29+
RET=1
30+
fi
31+
echo "Linting asv_bench/benchmarks/*.py DONE"
32+
2633
echo "Linting *.pyx"
2734
flake8 pandas --filename=*.pyx --select=E501,E302,E203,E111,E114,E221,E303,E128,E231,E126,E265,E305,E301,E127,E261,E271,E129,W291,E222,E241,E123,F403
2835
if [ $? -ne "0" ]; then

0 commit comments

Comments
 (0)