Pylint: add exit code check.