def __lt__(self, requirement):
        # \n means top of file comment, so always return True,
        # otherwise just do a string comparison with value.
        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