[BUILD] Fix lint-python.
[BUILD] Fix lint-python.

## What changes were proposed in this pull request?

This pr fixes lint-python.

```
./python/pyspark/accumulators.py:231:9: E306 expected 1 blank line before a nested definition, found 0
./python/pyspark/accumulators.py:257:101: E501 line too long (107 > 100 characters)
./python/pyspark/accumulators.py:264:1: E302 expected 2 blank lines, found 1
./python/pyspark/accumulators.py:281:1: E302 expected 2 blank lines, found 1
```

## How was this patch tested?

Executed lint-python manually.

Author: Takuya UESHIN <ueshin@databricks.com>

Closes #21973 from ueshin/issues/build/1/fix_lint-python.

matthewfranglen/spark,rezasafi/spark,ConeyLiu/spark,dongjoon-hyun/spark,rednaxelafx/apache-spark,hhbyyh/spark,pgandhi999/spark,aosagie/spark,WeichenXu123/spark,hvanhovell/spark,BryanCutler/spark,HyukjinKwon/spark,darionyaphet/spark,mahak/spark,skonto/spark,ConeyLiu/spark,milliman/spark,jkbradley/spark,apache/spark,zuotingbing/spark,zero323/spark,cloud-fan/spark,actuaryzhang/spark,kiszk/spark,WeichenXu123/spark,skonto/spark,LantaoJin/spark,rezasafi/spark,chuckchen/spark,JoshRosen/spark,rikima/spark,aosagie/spark,sahilTakiar/spark,goldmedal/spark,techaddict/spark,witgo/spark,zhouyejoe/spark,bdrillard/spark,zuotingbing/spark,maropu/spark,Aegeaner/spark,rikima/spark,jiangxb1987/spark,WeichenXu123/spark,sahilTakiar/spark,ptkool/spark,facaiy/spark,WeichenXu123/spark,cloud-fan/spark,dongjoon-hyun/spark,pgandhi999/spark,wangmiao1981/spark,dbtsai/spark,witgo/spark,LantaoJin/spark,wangyum/spark,wangmiao1981/spark,icexelloss/spark,jiangxb1987/spark,rednaxelafx/apache-spark,vinodkc/spark,skonto/spark,jkbradley/spark,bdrillard/spark,bdrillard/spark,maropu/spark,apache/spark,guoxiaolongzte/spark,hhbyyh/spark,ueshin/apache-spark,ptkool/spark,zero323/spark,techaddict/spark,ConeyLiu/spark,wangyum/spark,xuanyuanking/spark,ptkool/spark,skonto/spark,icexelloss/spark,shaneknapp/spark,WeichenXu123/spark,caneGuy/spark,shaneknapp/spark,guoxiaolongzte/spark,milliman/spark,cloud-fan/spark,kiszk/spark,zzcclp/spark,caneGuy/spark,vinodkc/spark,yanboliang/spark,rekhajoshm/spark,maropu/spark,srowen/spark,milliman/spark,Aegeaner/spark,ptkool/spark,eyalfa/spark,taroplus/spark,pgandhi999/spark,actuaryzhang/spark,lvdongr/spark,michalsenkyr/spark,Aegeaner/spark,LantaoJin/spark,highfei2011/spark,michalsenkyr/spark,cloud-fan/spark,hhbyyh/spark,techaddict/spark,holdenk/spark,gengliangwang/spark,mdespriee/spark,guoxiaolongzte/spark,ueshin/apache-spark,caneGuy/spark,xuanyuanking/spark,vinodkc/spark,skonto/spark,sahilTakiar/spark,milliman/spark,shuangshuangwang/spark,gengliangwang/spark,wangmiao1981/spark,JoshRosen/spark,facaiy/spark,rikima/spark,taroplus/spark,pgandhi999/spark,HyukjinKwon/spark,jkbradley/spark,nchammas/spark,zero323/spark,zuotingbing/spark,actuaryzhang/spark,yanboliang/spark,chuckchen/spark,ahnqirage/spark,icexelloss/spark,facaiy/spark,shaneknapp/spark,WindCanDie/spark,chuckchen/spark,darionyaphet/spark,jiangxb1987/spark,WeichenXu123/spark,ahnqirage/spark,mdespriee/spark,Aegeaner/spark,holdenk/spark,gengliangwang/spark,mdespriee/spark,highfei2011/spark,ahnqirage/spark,gengliangwang/spark,kevinyu98/spark,zero323/spark,taroplus/spark,zuotingbing/spark,goldmedal/spark,aosagie/spark,WindCanDie/spark,JoshRosen/spark,JoshRosen/spark,BryanCutler/spark,cloud-fan/spark,witgo/spark,chuckchen/spark,chuckchen/spark,kevinyu98/spark,rikima/spark,HyukjinKwon/spark,rednaxelafx/apache-spark,dongjoon-hyun/spark,shuangshuangwang/spark,apache/spark,kiszk/spark,spark-test/spark,nchammas/spark,zhouyejoe/spark,hhbyyh/spark,jkbradley/spark,WindCanDie/spark,zuotingbing/spark,caneGuy/spark,zzcclp/spark,shaneknapp/spark,wzhfy/spark,shuangshuangwang/spark,mahak/spark,gengliangwang/spark,taroplus/spark,techaddict/spark,nchammas/spark,spark-test/spark,skonto/spark,hhbyyh/spark,icexelloss/spark,sahilTakiar/spark,shuangshuangwang/spark,highfei2011/spark,hvanhovell/spark,holdenk/spark,ahnqirage/spark,wangmiao1981/spark,spark-test/spark,facaiy/spark,actuaryzhang/spark,dongjoon-hyun/spark,lvdongr/spark,hhbyyh/spark,nchammas/spark,sahilTakiar/spark,michalsenkyr/spark,mahak/spark,cloud-fan/spark,zhouyejoe/spark,ptkool/spark,zzcclp/spark,rekhajoshm/spark,rezasafi/spark,ptkool/spark,srowen/spark,rikima/spark,JoshRosen/spark,sahilTakiar/spark,wangyum/spark,rezasafi/spark,mdespriee/spark,wangmiao1981/spark,wangyum/spark,zhouyejoe/spark,wzhfy/spark,shaneknapp/spark,bdrillard/spark,wzhfy/spark,maropu/spark,dbtsai/spark,goldmedal/spark,facaiy/spark,zuotingbing/spark,holdenk/spark,spark-test/spark,WindCanDie/spark,michalsenkyr/spark,eyalfa/spark,gengliangwang/spark,techaddict/spark,aosagie/spark,jiangxb1987/spark,rezasafi/spark,bdrillard/spark,lvdongr/spark,zhouyejoe/spark,LantaoJin/spark,jkbradley/spark,michalsenkyr/spark,mahak/spark,vinodkc/spark,wangmiao1981/spark,xuanyuanking/spark,rikima/spark,hhbyyh/spark,jkbradley/spark,ueshin/apache-spark,eyalfa/spark,mdespriee/spark,shaneknapp/spark,witgo/spark,BryanCutler/spark,zero323/spark,aosagie/spark,kiszk/spark,Aegeaner/spark,mahak/spark,milliman/spark,lvdongr/spark,WindCanDie/spark,rednaxelafx/apache-spark,zuotingbing/spark,rezasafi/spark,guoxiaolongzte/spark,ueshin/apache-spark,shuangshuangwang/spark,holdenk/spark,spark-test/spark,hvanhovell/spark,goldmedal/spark,zero323/spark,actuaryzhang/spark,wzhfy/spark,facaiy/spark,icexelloss/spark,srowen/spark,HyukjinKwon/spark,srowen/spark,kevinyu98/spark,rednaxelafx/apache-spark,caneGuy/spark,nchammas/spark,michalsenkyr/spark,hvanhovell/spark,dongjoon-hyun/spark,pgandhi999/spark,ueshin/apache-spark,kiszk/spark,wzhfy/spark,yanboliang/spark,WindCanDie/spark,kevinyu98/spark,darionyaphet/spark,mdespriee/spark,rikima/spark,vinodkc/spark,zzcclp/spark,jiangxb1987/spark,ptkool/spark,Aegeaner/spark,darionyaphet/spark,apache/spark,lvdongr/spark,rednaxelafx/apache-spark,xuanyuanking/spark,wangyum/spark,xuanyuanking/spark,cloud-fan/spark,caneGuy/spark,witgo/spark,apache/spark,HyukjinKwon/spark,kevinyu98/spark,techaddict/spark,witgo/spark,techaddict/spark,highfei2011/spark,ahnqirage/spark,kevinyu98/spark,highfei2011/spark,highfei2011/spark,yanboliang/spark,mdespriee/spark,hvanhovell/spark,michalsenkyr/spark,gengliangwang/spark,taroplus/spark,zero323/spark,ueshin/apache-spark,srowen/spark,xuanyuanking/spark,bdrillard/spark,nchammas/spark,wzhfy/spark,ahnqirage/spark,pgandhi999/spark,eyalfa/spark,goldmedal/spark,icexelloss/spark,rezasafi/spark,goldmedal/spark,dbtsai/spark,darionyaphet/spark,BryanCutler/spark,wangyum/spark,lvdongr/spark,HyukjinKwon/spark,rekhajoshm/spark,maropu/spark,JoshRosen/spark,maropu/spark,JoshRosen/spark,ahnqirage/spark,dbtsai/spark,mahak/spark,spark-test/spark,lvdongr/spark,mahak/spark,holdenk/spark,yanboliang/spark,hvanhovell/spark,apache/spark,zzcclp/spark,spark-test/spark,dbtsai/spark,rekhajoshm/spark,zzcclp/spark,jiangxb1987/spark,rednaxelafx/apache-spark,aosagie/spark,chuckchen/spark,highfei2011/spark,guoxiaolongzte/spark,darionyaphet/spark,wzhfy/spark,eyalfa/spark,Aegeaner/spark,aosagie/spark,srowen/spark,darionyaphet/spark,goldmedal/spark,jkbradley/spark,wangmiao1981/spark,caneGuy/spark,rekhajoshm/spark,dbtsai/spark,LantaoJin/spark,kiszk/spark,guoxiaolongzte/spark,holdenk/spark,kiszk/spark,kevinyu98/spark,WeichenXu123/spark,ConeyLiu/spark,witgo/spark,eyalfa/spark,apache/spark,vinodkc/spark,ConeyLiu/spark,zzcclp/spark,eyalfa/spark,bdrillard/spark,jiangxb1987/spark,sahilTakiar/spark,shuangshuangwang/spark,shaneknapp/spark,xuanyuanking/spark,dongjoon-hyun/spark,zhouyejoe/spark,rekhajoshm/spark,taroplus/spark,pgandhi999/spark,ConeyLiu/spark,taroplus/spark,icexelloss/spark,nchammas/spark,milliman/spark,chuckchen/spark,LantaoJin/spark,maropu/spark,yanboliang/spark,guoxiaolongzte/spark,LantaoJin/spark,BryanCutler/spark,BryanCutler/spark,ConeyLiu/spark,milliman/spark,yanboliang/spark,srowen/spark,dongjoon-hyun/spark,vinodkc/spark,hvanhovell/spark,dbtsai/spark,rekhajoshm/spark,actuaryzhang/spark,wangyum/spark,ueshin/apache-spark,HyukjinKwon/spark,shuangshuangwang/spark,facaiy/spark,actuaryzhang/spark,BryanCutler/spark,skonto/spark,zhouyejoe/spark,WindCanDie/spark