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"
35
35
numpy = " >= 1.23.5"
36
36
37
37
[tool .poetry .group .dev .dependencies ]
38
- mypy = " 1.16 .0"
38
+ mypy = " 1.17 .0"
39
39
pandas = " 2.3.0"
40
40
pyarrow = " >=10.0.1"
41
41
pytest = " >=7.1.2"
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def check(
64
64
if not isinstance (actual , klass ):
65
65
raise RuntimeError (f"Expected type '{ klass } ' but got '{ type (actual )} '" )
66
66
if dtype is None :
67
- return actual # type: ignore[return-value]
67
+ return actual
68
68
69
69
if isinstance (actual , pd .Series ):
70
70
value = actual .iloc [index_to_check_for_type ]
@@ -82,7 +82,7 @@ def check(
82
82
83
83
if not isinstance (value , dtype ):
84
84
raise RuntimeError (f"Expected type '{ dtype } ' but got '{ type (value )} '" )
85
- return actual # type: ignore[return-value]
85
+ return actual
86
86
87
87
88
88
def pytest_warns_bounded (
You can’t perform that action at this time.
0 commit comments