Ruff Formatting and Tests Fixes (#1988)

* Check in

* Add code quality checks to CI/CD

* Fix workflow
This commit is contained in:
Nolan Tremelling
2025-02-19 15:18:12 -08:00
committed by GitHub
parent 943aef72ff
commit fb6353eebc
146 changed files with 3310 additions and 4305 deletions
+6 -5
View File
@@ -71,11 +71,12 @@ class Handler(ABC):
class PostgresConfigurationSettings(BaseModel):
"""
Configuration settings with defaults defined by the PGVector docker image.
"""Configuration settings with defaults defined by the PGVector docker
image.
These settings are helpful in managing the connections to the database.
To tune these settings for a specific deployment, see https://pgtune.leopard.in.ua/
These settings are helpful in managing the connections to the database. To
tune these settings for a specific deployment, see
https://pgtune.leopard.in.ua/
"""
checkpoint_completion_target: Optional[float] = 0.9
@@ -114,7 +115,7 @@ class LimitSettings(BaseModel):
class DatabaseConfig(ProviderConfig):
"""A base database configuration class"""
"""A base database configuration class."""
provider: str = "postgres"
user: Optional[str] = None