[fix] Mypy Coffre Secrets (3 erreurs) + version 2.80.2 #27

Merged
bruno merged 14 commits from fix/mypy-coffre-2.80.2 into main 2026-10-27 23:24:45 -04:00
Showing only changes of commit d4d050297b - Show all commits
+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,