tools: use in memory databases by default
Python Lint CI / ruff-format-check (push) Successful in 44s
Python Lint CI / ruff (push) Successful in 45s
Python Lint CI / ty (push) Successful in 44s

This commit is contained in:
2026-07-03 15:37:22 +02:00
parent 59a6f49700
commit 42a5995647
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -11,3 +11,4 @@ dist
.pytest_cache .pytest_cache
node_modules node_modules
.eslintcache .eslintcache
*.sqlite
+2 -2
View File
@@ -15,8 +15,8 @@ class Parameters:
port: int = 5000 port: int = 5000
workers: int = 4 workers: int = 4
timeout: int = 120 timeout: int = 120
db_uri: str = "postgres://localhost:5432/tout-doux" db_uri: str = "sqlite://db.sqlite"
cache_uri: str = "redis://localhost:6379" cache_uri: str = "memory://"
@classmethod @classmethod
def from_namespace(cls, args: argparse.Namespace) -> Parameters: def from_namespace(cls, args: argparse.Namespace) -> Parameters: