Skip to content

Commit

Permalink
TYP: Fix new static typing failures
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Dec 10, 2024
1 parent d45cdba commit c3e1db1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plotnine/guides/guides.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def _lrtb(pos):
if just is None:
just = (0.5, 0.5)
elif just in VALID_JUSTIFICATION_WORDS:
just = ensure_xy_location(just)
just = ensure_xy_location(just) # pyright: ignore[reportArgumentType]
elif isinstance(just, (float, int)):
just = (just, just)
return just[idx]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ dev = [
]

typing = [
"pyright==1.1.389",
"pyright==1.1.390",
"ipython",
"pandas-stubs",
]
Expand Down

0 comments on commit c3e1db1

Please sign in to comment.