mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
feat: mypy for all type check (#10921)
This commit is contained in:
10
api/mypy.ini
Normal file
10
api/mypy.ini
Normal file
@@ -0,0 +1,10 @@
|
||||
[mypy]
|
||||
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/
|
||||
)
|
||||
Reference in New Issue
Block a user