File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ types-pytz = ">= 2022.1.1"
3535numpy = " >= 1.23.5"
3636
3737[tool .poetry .group .dev .dependencies ]
38- mypy = " 1.16 .0"
38+ mypy = " 1.17 .0"
3939pandas = " 2.3.0"
4040pyarrow = " >=10.0.1"
4141pytest = " >=7.1.2"
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def check(
6464 if not isinstance (actual , klass ):
6565 raise RuntimeError (f"Expected type '{ klass } ' but got '{ type (actual )} '" )
6666 if dtype is None :
67- return actual # type: ignore[return-value]
67+ return actual
6868
6969 if isinstance (actual , pd .Series ):
7070 value = actual .iloc [index_to_check_for_type ]
@@ -82,7 +82,7 @@ def check(
8282
8383 if not isinstance (value , dtype ):
8484 raise RuntimeError (f"Expected type '{ dtype } ' but got '{ type (value )} '" )
85- return actual # type: ignore[return-value]
85+ return actual
8686
8787
8888def pytest_warns_bounded (
You can’t perform that action at this time.
0 commit comments