Skip to content

Commit

Permalink
Remove ignore statement which is redundant for new versions of mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
binste committed Oct 28, 2023
1 parent 4aec762 commit a3244dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion altair/vegalite/v5/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,7 @@ def transform_calculate(
# an edge case and it's not worth changing the type annotation
# in this function to account for it as it could be confusing to
# users.
as_ = kwargs.pop("as", Undefined) # type: ignore[assignment]
as_ = kwargs.pop("as", Undefined)
elif "as" in kwargs:
raise ValueError(
"transform_calculate: both 'as_' and 'as' passed as arguments."
Expand Down

0 comments on commit a3244dc

Please sign in to comment.