pylint cleanup of #1