Skip to content

Commit ce16ae2

Browse files
committed
update pyright
1 parent 83683e5 commit ce16ae2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ mypy = "1.17.1"
4040
pandas = "2.3.2"
4141
pyarrow = ">=10.0.1"
4242
pytest = ">=7.1.2"
43-
pyright = ">=1.1.404"
43+
pyright = ">=1.1.405"
4444
ty = "^0.0.1a9"
4545
pyrefly = "^0.21.0"
4646
poethepoet = ">=0.16.5"

tests/test_natype.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,12 @@ def test_arithmetic() -> None:
9797
# )
9898
# check(
9999
# assert_type(
100-
# # pyright bug: https://github.com/microsoft/pyright/issues/10849, will
101-
# # require `pyright: ignore[reportAssertTypeFailure]` until fixed.
102100
# divmod(na, idx_int),
103101
# tuple[pd.Index, pd.Index],
104102
# ),
105103
# tuple,
106104
# )
107-
check(assert_type(divmod(na, 1), tuple[NAType, NAType]), tuple)
105+
check(assert_type(na.__divmod__(1), tuple[NAType, NAType]), tuple)
108106

109107
# __rdivmod__
110108
# bug upstream: https://github.com/pandas-dev/pandas/issues/62196

0 commit comments

Comments
 (0)