Skip to content

Commit

Permalink
fix: Removed unused type: ignore comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed May 13, 2024
1 parent 55cddd5 commit a97f760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion altair/utils/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def save(
"""
if json_kwds is None:
json_kwds = {}
fp = pathlib.Path(fp) if isinstance(fp, str) else fp # type: ignore[assignment]
fp = pathlib.Path(fp) if isinstance(fp, str) else fp
encoding = kwargs.get("encoding", "utf-8")

format = set_inspect_format_argument(format, fp, inline) # type: ignore[assignment]
Expand Down

0 comments on commit a97f760

Please sign in to comment.