Skip to content

Commit

Permalink
Fix minor type errors (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
dycw authored Oct 9, 2024
1 parent 13bdc83 commit 59c471b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/tests/test_polars.py
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ def test_error_min_periods(
_RollingParametersMinPeriodsError,
match="Exponential rolling requires 'min_periods' to be set; got None",
):
_ = rolling_parameters( # pyright: ignore[reportCallIssue]
_ = rolling_parameters(
e_com=e_com, e_span=e_span, e_half_life=e_half_life, e_alpha=e_alpha
)

Expand All @@ -1060,7 +1060,7 @@ def test_error_argument(self) -> None:
r"Exactly one of simple window, exponential center of mass (γ), exponential span (θ), exponential half-life (λ) or exponential smoothing factor (α) must be given; got s_window=None, γ=None, θ=None, λ=None and α=None" # noqa: RUF001
),
):
_ = rolling_parameters() # pyright: ignore[reportCallIssue]
_ = rolling_parameters()


class TestSetFirstRowAsColumns:
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from __future__ import annotations

__version__ = "0.58.14"
__version__ = "0.58.15"
1 change: 1 addition & 0 deletions src/utilities/iterables.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ def __new__(cls, *item_or_items: MaybeIterable[_TSupportsHashAndSort]) -> Self:
return super().__new__(cls, items)

def __init__(self, *item_or_items: MaybeIterable[_TSupportsHashAndSort]) -> None:
super().__init__()
_ = item_or_items

@override
Expand Down

0 comments on commit 59c471b

Please sign in to comment.