Pylint upgrade and cleanup.