Parse the comparision operator in an operation.

def parse_comparison_operation(operation: str) -> Tuple[Optional[str], str]:
    """Parse the comparision operator in an operation."""
    _operation = operation.strip()
    if not _operation:
        raise QueryParserException('Operation is not valid: {}'.format(operation))
    # Check inclusion comparison
    if _operation[:2] in ('<=', '=<'):
        return '<=', _operation[2:].strip()

    if _operation[:2] in ('>=', '=>'):
        return '>=', _operation[2:].strip()

    # Non inclusive
    if _operation[:1] in ('>', '<'):
        return _operation[:1], _operation[1:].strip()

    return None, _operation