more minor pylint fixes