1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-02 20:15:24 +02:00

fix: Upgrade Black (#3057)

* bump black

* bump black on precommit

* run black

* fix backend test runner
This commit is contained in:
Michael Genson 2024-01-27 15:11:54 -06:00 committed by GitHub
parent 0800a8d00a
commit a5ef18669b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 81 additions and 73 deletions

View file

@ -13,20 +13,16 @@ class ABCMultiTenantTestCase(ABC):
self.items: list = []
@abstractmethod
def seed_action(self, group_id: str) -> set[int] | set[str]:
...
def seed_action(self, group_id: str) -> set[int] | set[str]: ...
@abstractmethod
def seed_multi(self, group1_id: str, group2_id: str) -> tuple[set[str], set[str]]:
...
def seed_multi(self, group1_id: str, group2_id: str) -> tuple[set[str], set[str]]: ...
@abstractmethod
def get_all(self, token: str) -> Response:
...
def get_all(self, token: str) -> Response: ...
@abstractmethod
def cleanup(self) -> None:
...
def cleanup(self) -> None: ...
def __enter__(self):
pass