some pylinting changes