diff --git a/api/mypy.ini b/api/mypy.ini new file mode 100644 index 00000000000000..4ac7f8c49690dd --- /dev/null +++ b/api/mypy.ini @@ -0,0 +1,11 @@ +[mypy] +python_executable = .venv/bin/python +warn_return_any = True +warn_unused_configs = True +check_untyped_defs = True +exclude = (?x)( + core/tools/provider/builtin/ + | core/model_runtime/model_providers/ + | tests/ + | migrations/ + ) \ No newline at end of file