Update build_pants_target.py

update it for pylint