mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat: update mypy config
- Ignore one additional module - Add comments
This commit is contained in:
parent
50ab677ea4
commit
2b7e7496f7
@ -215,11 +215,14 @@ exclude = [
|
||||
#=== End: Ruff
|
||||
|
||||
#=== Begin: MyPy
|
||||
|
||||
# global mypy config
|
||||
[tool.mypy]
|
||||
ignore_missing_imports = true # ignores missing types in third-party libraries
|
||||
|
||||
# overrides for specific modules
|
||||
[[tool.mypy.overrides]]
|
||||
follow_imports = "skip"
|
||||
follow_imports = "skip" # skips type checking of the modules listed below
|
||||
module = [
|
||||
"invokeai.app.api.routers.models",
|
||||
"invokeai.app.invocations.compel",
|
||||
@ -229,6 +232,7 @@ module = [
|
||||
"invokeai.app.services.invocation_stats.invocation_stats_default",
|
||||
"invokeai.app.services.model_manager.model_manager_base",
|
||||
"invokeai.app.services.model_manager.model_manager_default",
|
||||
"invokeai.app.services.model_records.model_records_sql",
|
||||
"invokeai.app.util.controlnet_utils",
|
||||
"invokeai.backend.image_util.txt2mask",
|
||||
"invokeai.backend.image_util.safety_checker",
|
||||
|
Loading…
Reference in New Issue
Block a user