Skip to content

Commit 64c34c0

Browse files
committed
fixes to mypy stubgen
1 parent da516cb commit 64c34c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/stubs/mypy.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
mypy_path = duckdb
2+
mypy_path = duckdb-stubs
33
[mypy-fsspec]
44
ignore_missing_imports = True
55
[mypy-pandas]
@@ -11,4 +11,4 @@ ignore_missing_imports = True
1111
[mypy-pyarrow.lib]
1212
ignore_missing_imports = True
1313
[mypy-torch]
14-
ignore_missing_imports = True
14+
ignore_missing_imports = True

tests/stubs/test_stubs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def test_generated_stubs():
99
skip_stubs_errors = ["pybind11", "git_revision", "is inconsistent, metaclass differs"]
1010

11-
options = stubtest.parse_options(["duckdb", "--mypy-config-file", MYPY_INI_PATH])
11+
options = stubtest.parse_options(["duckdb", "--mypy-config-file", str(MYPY_INI_PATH)])
1212
stubtest.test_stubs(options)
1313

1414
broken_stubs = [

0 commit comments

Comments
 (0)