Skip to content

Commit 530061b

Browse files
committed
Make mypy aware of src directory
1 parent 6ee1ded commit 530061b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ ignore = [
108108

109109
[tool.mypy]
110110
strict = true
111+
mypy_path = "src"
111112
plugins = [
112113
"pydantic.mypy"
113114
]

tests/routers/openml/datasets_list_datasets_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,6 @@ async def test_list_data_quality(
341341
status=DatasetStatusFilter.ALL,
342342
user=None,
343343
expdb_db=expdb_test,
344-
**{quality: range_},
344+
**{quality: range_}, # type: ignore[arg-type]
345345
)
346346
assert len(result) == count

0 commit comments

Comments
 (0)