diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 7ff48a262c4d6..44cddd7bea81c 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1,3 +1,4 @@ +# pyright: reportPropertyTypeMismatch=false from __future__ import annotations import collections diff --git a/pyproject.toml b/pyproject.toml index ae68e54ce1346..f329784d050e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -166,7 +166,6 @@ reportOptionalOperand = false reportOptionalSubscript = false reportPrivateImportUsage = false reportPrivateUsage = false -reportPropertyTypeMismatch = false reportUnboundVariable = false reportUnknownArgumentType = false reportUnknownLambdaType = false