Skip to content

Commit 7760366

Browse files
committed
Bugfix/763 improve type annotations for DataFrameModel.validate (unionai-oss#1905)
Signed-off-by: Matt Richards <[email protected]> * trial type annotations Signed-off-by: Matt Richards <[email protected]> * changes in individual api files Signed-off-by: Matt Richards <[email protected]> * pl.dataframe working in local test Signed-off-by: Matt Richards <[email protected]> * older python union compat Signed-off-by: Matt Richards <[email protected]> * try polars in the mypy env on ci Signed-off-by: Matt Richards <[email protected]> * translate toplevel mypy skip into module specific skips Signed-off-by: Matt Richards <[email protected]> * mypy passes Signed-off-by: Matt Richards <[email protected]> * missing line continuation Signed-off-by: Matt Richards <[email protected]> * python 3.8 Signed-off-by: Matt Richards <[email protected]> --------- Signed-off-by: Matt Richards <[email protected]>
1 parent 3ccc1b8 commit 7760366

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mypy.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ exclude=(?x)(
1212
| ^pandera/backends/pyspark
1313
| ^tests/pyspark
1414
)
15-
1615
[mypy-pandera.api.pyspark.*]
1716
follow_imports = skip
1817

19-
; [mypy-pandera.engines.polars_engine]
20-
; ignore_errors = True
18+
[mypy-docs.*]
19+
follow_imports = skip
20+
21+
[mypy-pandera.engines.polars_engine]
22+
ignore_errors = True
2123

2224
[mypy-pandera.backends.polars.builtin_checks]
2325
ignore_errors = True

0 commit comments

Comments
 (0)