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:
Christophe Bornet 2024-10-22 13:55:48 +02:00 • committed by GitHub
commit 507eda997a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
138 changed files with 588 additions and 580 deletions

View file

@ -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",