Cosmetic pylint fixes