optmize arp.py by pylint