[fix] mypy Coffre + bump 2.80.2 : backend/coffre_store.py

This commit is contained in:
2026-10-27 23:10:27 -04:00
parent 8d768bf9d5
commit d4d050297b
+2 -1
View File
@@ -42,6 +42,7 @@ import threading
import uuid import uuid
from datetime import UTC, datetime, timedelta from datetime import UTC, datetime, timedelta
from pathlib import Path from pathlib import Path
from typing import Any
from backend.coffre_crypto import ( from backend.coffre_crypto import (
decrypt_secret_value, decrypt_secret_value,
@@ -306,7 +307,7 @@ def create_coffre(
data = _load_coffres(base) data = _load_coffres(base)
if any(c["slug"] == slug for c in data["coffres"]): if any(c["slug"] == slug for c in data["coffres"]):
raise CoffreExisteError(f"Coffre déjà existant : {slug}") raise CoffreExisteError(f"Coffre déjà existant : {slug}")
coffre = { coffre: dict[str, Any] = {
"id": str(uuid.uuid4()), "id": str(uuid.uuid4()),
"slug": slug, "slug": slug,
"nom": nom, "nom": nom,