<commit_before>import datetime
from bisect import bisect
from hijri_converter import ummalqura, locales


class Hijri:
    """A Hijri object represents a date (year, month and day) in Hijri
    calendar.
    """

    __slots__ = "_year", "_month", "_day"

    def __init__(self, year: int, month: int, day: int, validate: bool = True) -> None:
        """
        :param year: Hijri year
        :type year: int
        :param month: Hijri month
        :type month: int
        :param day: Hijri day
        :type day: int
        :param validate: Whether to validate date or not (default is ``True``)
        :type validate: bool
        """

        if validate:
            _check_hijri_date(year, month, day)
        self._year = year
        self._month = month
        self._day = day

    def __repr__(self) -> str:
        return f"Hijri({self._year}, {self._month}, {self._day})"

    def __str__(self) -> str:
        return self.isoformat()

    def __hash__(self) -> int:
        return hash(("Hijri", self._year, self._month, self._day))

    def __eq__(self, other: object) -> bool:
        if not isinstance(other, Hijri):<commit_msg>improve repr method of Hijri<commit_after>import datetime
from bisect import bisect
from hijri_converter import ummalqura, locales


class Hijri:
    """A Hijri object represents a date (year, month and day) in Hijri
    calendar.
    """

    __slots__ = "_year", "_month", "_day"

    def __init__(self, year: int, month: int, day: int, validate: bool = True) -> None:
        """
        :param year: Hijri year
        :type year: int
        :param month: Hijri month
        :type month: int
        :param day: Hijri day
        :type day: int
        :param validate: Whether to validate date or not (default is ``True``)
        :type validate: bool
        """

        if validate:
            _check_hijri_date(year, month, day)
        self._year = year
        self._month = month
        self._day = day

    def __repr__(self) -> str:
        class_name = self.__class__.__name__
        return f"{class_name}({self._year}, {self._month}, {self._day})"

    def __str__(self) -> str:
        return self.isoformat()

    def __hash__(self) -> int:
        return hash(("Hijri", self._year, self._month, self._day))

    def __eq__(self, other: object) -> bool:
        if not isinstance(other, Hijri):
{'fraction_non_alphanumeric': 0.1144909167722856, 'fraction_numerical': 0.0, 'mean_word_length': 2.335211267605634, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1759626', 'n_tokens_mistral': 734, 'n_tokens_neox': 728, 'n_words': 239}