clean up pylint warnings