

def __lt__(self, requirement):
    if (self.value == b'\n'):
        return True
    elif (requirement.value == b'\n'):
        return False
    else:
        return (self.value.lower().partition(b'==') < requirement.value.lower().partition(b'=='))

dataset/ETHPy150Open pre-commit/pre-commit-hooks/pre_commit_hooks/requirements_txt_fixer.py Requirement.__lt__/original