cleaning up pylint warnings