mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat: add pyright config
I was having issues with mypy bother over- and under-reporting certain problems. I've added a pyright config.
This commit is contained in:
parent
7657c361a3
commit
ff30ec4746
@ -280,3 +280,19 @@ module = [
|
|||||||
"invokeai.frontend.install.model_install",
|
"invokeai.frontend.install.model_install",
|
||||||
]
|
]
|
||||||
#=== End: MyPy
|
#=== End: MyPy
|
||||||
|
|
||||||
|
[tool.pyright]
|
||||||
|
include = [
|
||||||
|
"invokeai/app/invocations/"
|
||||||
|
]
|
||||||
|
exclude = [
|
||||||
|
"**/node_modules",
|
||||||
|
"**/__pycache__",
|
||||||
|
"invokeai/app/invocations/onnx.py",
|
||||||
|
"invokeai/app/api/routers/models.py",
|
||||||
|
"invokeai/app/services/invocation_stats/invocation_stats_default.py",
|
||||||
|
"invokeai/app/services/model_manager/model_manager_base.py",
|
||||||
|
"invokeai/app/services/model_manager/model_manager_default.py",
|
||||||
|
"invokeai/app/services/model_records/model_records_sql.py",
|
||||||
|
"invokeai/app/util/controlnet_utils.py",
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user