Skip to content

Commit 2602494

Browse files
authored
Update and fix pyright, cap matplotlib to avoid warnings (#934)
1 parent 8a41508 commit 2602494

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas-stubs/core/groupby/generic.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class DataFrameGroupBy(GroupBy[DataFrame], Generic[ByT]):
207207
) -> DataFrame: ...
208208
# error: overload 1 overlaps overload 2 because of different return types
209209
@overload
210-
def aggregate(self, func: Literal["size"]) -> Series: ... # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
210+
def aggregate(self, func: Literal["size"]) -> Series: ... # type: ignore[overload-overlap]
211211
@overload
212212
def aggregate(
213213
self,

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ mypy = "1.10.0"
3939
pandas = "2.2.2"
4040
pyarrow = ">=10.0.1"
4141
pytest = ">=7.1.2"
42-
pyright = ">=1.1.362"
42+
pyright = ">=1.1.365"
4343
poethepoet = ">=0.16.5"
4444
loguru = ">=0.6.0"
4545
typing-extensions = ">=4.4.0"
46-
matplotlib = ">=3.5.1"
46+
matplotlib = ">=3.5.1,<3.9.0" # TODO https://github.com/pandas-dev/pandas/issues/58851
4747
pre-commit = ">=2.19.0"
4848
black = ">=23.3.0"
4949
isort = ">=5.12.0"

0 commit comments

Comments
 (0)