mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
python: Reformat with Ruff formatter.
https://docs.astral.sh/ruff/formatter/
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 570f3dd447)
This commit is contained in:
committed by
Tim Abbott
parent
33a7147d37
commit
9ea290d5ae
@@ -585,7 +585,7 @@ TestCaseT = TypeVar("TestCaseT", bound="MigrationsTestCase")
|
||||
|
||||
|
||||
def use_db_models(
|
||||
method: Callable[[TestCaseT, StateApps], None]
|
||||
method: Callable[[TestCaseT, StateApps], None],
|
||||
) -> Callable[[TestCaseT, StateApps], None]: # nocoverage
|
||||
def method_patched_with_mock(self: TestCaseT, apps: StateApps) -> None:
|
||||
ArchivedAttachment = apps.get_model("zerver", "ArchivedAttachment")
|
||||
|
||||
Reference in New Issue
Block a user