Skip to content

Commit

Permalink
fix: Use pyright-specific ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Sep 15, 2024
1 parent 3946d02 commit e1344ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vegalite/v5/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ def test_LookupData():
df = nw.from_native(pd.DataFrame({"x": [1, 2, 3], "y": [4, 5, 6]}))
# Data type hints won't match with what TopLevelUnitSpec expects
# as there is some data processing happening when converting to a VL spec
lookup = alt.LookupData(data=df, key="x") # type: ignore[arg-type]
lookup = alt.LookupData(data=df, key="x") # pyright: ignore[reportArgumentType]

dct = lookup.to_dict()
assert dct["key"] == "x"
Expand Down

0 comments on commit e1344ed

Please sign in to comment.