some pylint cleanup