Skip to content

Commit

Permalink
ci: add mypy tests
Browse files Browse the repository at this point in the history
Signed-off-by: yihong0618 <[email protected]>
  • Loading branch information
yihong0618 committed Dec 23, 2024
1 parent e88ea71 commit 112f06b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions api/mypy.ini
Original file line number Diff line number Diff line change
@@ -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/
)

0 comments on commit 112f06b

Please sign in to comment.