Skip to content

Commit

Permalink
Add back ignore imports
Browse files Browse the repository at this point in the history
  • Loading branch information
zundertj committed Aug 14, 2022
1 parent f6f16e4 commit b3dc257
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion py-polars/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ enable_error_code = [
]

[[tool.mypy.overrides]]
module = ["polars.*", "fsspec.*", "pyarrow.*", "matplotlib.*", "connectorx", "IPython.*"]
module = ["pyarrow.*", "polars.polars", "matplotlib.*", "fsspec.*", "connectorx", "IPython.*"]
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = ["polars.*", "fsspec.*", "pyarrow.*"]
# We exclude the polars module from warn_return_any, because the PyO3 api does not have Python
# type annotations. See https://github.com/PyO3/pyo3/issues/1112 for a discussion on adding
# this capability. We could add a stub file for polars.polars (the PyO3 api), but that
Expand Down

0 comments on commit b3dc257

Please # to comment.