some pylint cleanups