small corrections
Python Code Quality / python-code-quality (push) Successful in 11s
Python Test / python-test (push) Successful in 13s

This commit is contained in:
Brian Bjarke Jensen
2026-01-08 08:33:00 +01:00
parent a616078fa8
commit a81c0964b0
6 changed files with 13 additions and 16 deletions
@@ -4,7 +4,6 @@ import os
import json
import base64
import secrets
from typing import Tuple
from .password_provider_interface import PasswordProviderInterface
@@ -30,7 +29,7 @@ class PasswordProviderExample(PasswordProviderInterface):
return url_safe_string
@classmethod
def get_decryption_keys(cls) -> Tuple[str, dict[str, str] | None]:
def get_decryption_keys(cls) -> tuple[str, dict[str, str] | None]:
"""Placeholder function to get decryption keys. Implement your own logic here.
Returns:
@@ -1,6 +1,5 @@
"""Definition of PasswordProviderInterface."""
from typing import Tuple
from abc import ABC, abstractmethod
@@ -18,7 +17,7 @@ class PasswordProviderInterface(ABC):
@classmethod
@abstractmethod
def get_decryption_keys(cls) -> Tuple[str, dict[str, str] | None]:
def get_decryption_keys(cls) -> tuple[str, dict[str, str] | None]:
"""Get decryption keys for decryption.
Returns: