@@ -20,14 +20,14 @@ if [ "$LINT" ]; then
20
20
21
21
# pandas/_libs/src is C code, so no need to search there.
22
22
echo " Linting *.py"
23
- flake8 pandas --filename=* .py --exclude pandas/_libs/src --ignore=C406,C408,C409,C410, E402,E731,E741,W503
23
+ flake8 pandas --filename=* .py --exclude pandas/_libs/src --ignore=C406,C408,C409,E402,E731,E741,W503
24
24
if [ $? -ne " 0" ]; then
25
25
RET=1
26
26
fi
27
27
echo " Linting *.py DONE"
28
28
29
29
echo " Linting setup.py"
30
- flake8 setup.py --ignore=C406,C408,C409,C410, E402,E731,E741,W503
30
+ flake8 setup.py --ignore=E402,E731,E741,W503
31
31
if [ $? -ne " 0" ]; then
32
32
RET=1
33
33
fi
@@ -41,21 +41,21 @@ if [ "$LINT" ]; then
41
41
echo " Linting asv_bench/benchmarks/*.py DONE"
42
42
43
43
echo " Linting scripts/*.py"
44
- flake8 scripts --filename=* .py --ignore=C406, C408,C409,C410 ,E402,E731,E741,W503
44
+ flake8 scripts --filename=* .py --ignore=C408,E402,E731,E741,W503
45
45
if [ $? -ne " 0" ]; then
46
46
RET=1
47
47
fi
48
48
echo " Linting scripts/*.py DONE"
49
49
50
50
echo " Linting doc scripts"
51
- flake8 doc/make.py doc/source/conf.py --ignore=C406,C408,C409,C410, E402,E731,E741,W503
51
+ flake8 doc/make.py doc/source/conf.py --ignore=E402,E731,E741,W503
52
52
if [ $? -ne " 0" ]; then
53
53
RET=1
54
54
fi
55
55
echo " Linting doc scripts DONE"
56
56
57
57
echo " Linting *.pyx"
58
- 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,C400,C401,C402,C403,C404,C407,C411
58
+ 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,C400,C401,C402,C403,C404,C405,C406, C407,C408,C409,C410 ,C411
59
59
if [ $? -ne " 0" ]; then
60
60
RET=1
61
61
fi
0 commit comments