Skip to content

Commit

Permalink
style: fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed May 15, 2024
1 parent 9d50881 commit ab8856e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/safeds/data/tabular/transformation/_one_hot_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(
self._new_column_names: list[str] | None = None
self._mapping: dict[str, list[tuple[str, Any]]] | None = None # Column name -> (new column name, value)[]

def __eq__(self, other):
def __eq__(self, other) -> bool:
if not isinstance(other, OneHotEncoder):
return NotImplemented
elif self is other:
Expand Down

0 comments on commit ab8856e

Please sign in to comment.