ref: Auto-fix some ruff ANN rules (#4210)
* Auto-fix some ruff ANN rules * Fix mypy errors * Changes following review * Fix ServiceFactory
This commit is contained in:
parent
c85cd91e09
commit
507eda997a
138 changed files with 588 additions and 580 deletions
|
|
@ -28,6 +28,7 @@ exclude = ["langflow/alembic"]
|
|||
line-length = 120
|
||||
|
||||
[tool.ruff.lint]
|
||||
flake8-annotations.mypy-init-return = true
|
||||
flake8-bugbear.extend-immutable-calls = [
|
||||
"fastapi.Depends",
|
||||
"fastapi.File",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue