diff --git a/types_linq/more/extrema_enumerable.py b/types_linq/more/extrema_enumerable.py index 691bd21..f9edbb9 100644 --- a/types_linq/more/extrema_enumerable.py +++ b/types_linq/more/extrema_enumerable.py @@ -35,7 +35,7 @@ def _get_iterable(self) -> Iterable[TSource_co]: return _extrema_by(it, getter, self._selector, self._comparer, self._for_min) # please maintain same overloads - def first(self, *args): # pyright: reportIncompatibleMethodOverride=false + def first(self, *args): # pyright: ignore[reportIncompatibleMethodOverride] if len(args) == 0: return MoreEnumerable.first(self.take(1)) else: # len(args) == 1 diff --git a/types_linq/more/more_enumerable.py b/types_linq/more/more_enumerable.py index 68accdf..449a5a3 100644 --- a/types_linq/more/more_enumerable.py +++ b/types_linq/more/more_enumerable.py @@ -42,7 +42,7 @@ def aggregate_right(self, *args) -> Any: seed = func(elem, seed) return result_selector(seed) - def as_more(self) -> MoreEnumerable[TSource_co]: # pyright: reportIncompatibleMethodOverride=false + def as_more(self) -> MoreEnumerable[TSource_co]: # pyright: ignore[reportIncompatibleMethodOverride] return self def consume(self) -> None: