Many pylint fixes to varstrut.py