Pylint Too Many Branches