File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,11 +215,14 @@ exclude = [
215215# === End: Ruff
216216
217217# === Begin: MyPy
218+
219+ # global mypy config
218220[tool .mypy ]
219221ignore_missing_imports = true # ignores missing types in third-party libraries
220222
223+ # overrides for specific modules
221224[[tool .mypy .overrides ]]
222- follow_imports = " skip"
225+ follow_imports = " skip" # skips type checking of the modules listed below
223226module = [
224227 " invokeai.app.api.routers.models" ,
225228 " invokeai.app.invocations.compel" ,
@@ -229,6 +232,7 @@ module = [
229232 " invokeai.app.services.invocation_stats.invocation_stats_default" ,
230233 " invokeai.app.services.model_manager.model_manager_base" ,
231234 " invokeai.app.services.model_manager.model_manager_default" ,
235+ " invokeai.app.services.model_records.model_records_sql" ,
232236 " invokeai.app.util.controlnet_utils" ,
233237 " invokeai.backend.image_util.txt2mask" ,
234238 " invokeai.backend.image_util.safety_checker" ,
You can’t perform that action at this time.
0 commit comments