diff --git a/py-polars/pyproject.toml b/py-polars/pyproject.toml index d9ed923123ed..b9d61f4dd6e2 100644 --- a/py-polars/pyproject.toml +++ b/py-polars/pyproject.toml @@ -86,10 +86,6 @@ module = [ ] ignore_missing_imports = true -[[tool.mypy.overrides]] -module = ["polars.testing._tempdir"] -ignore_errors = true - [[tool.mypy.overrides]] module = ["IPython.*"] follow_imports = "skip" diff --git a/py-polars/scripts/check_stacklevels.py b/py-polars/scripts/check_stacklevels.py index e5b0337c9c42..93805063acad 100644 --- a/py-polars/scripts/check_stacklevels.py +++ b/py-polars/scripts/check_stacklevels.py @@ -11,7 +11,7 @@ # Files in which it's OK to set the stacklevel manually. # `git ls-files` lists files with forwards-slashes # even on Windows, so it's OK to list them like that. -EXCLUDE = frozenset(["polars/utils/polars_version.py", "polars/testing/_tempdir.py"]) +EXCLUDE = frozenset(["polars/utils/polars_version.py"]) class StackLevelChecker(NodeVisitor):