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:
Anders Kaseorg
2023-12-05 09:45:07 -08:00
committed by Tim Abbott
parent 33a7147d37
commit 9ea290d5ae
59 changed files with 137 additions and 175 deletions

View File

@@ -60,7 +60,7 @@ def generate_dev_ldap_dir(mode: str, num_users: int = 8) -> Dict[str, Dict[str,
def init_fakeldap(
directory: Optional[Dict[str, Dict[str, List[str]]]] = None
directory: Optional[Dict[str, Dict[str, List[str]]]] = None,
) -> None: # nocoverage
# We only use this in development. Importing mock inside
# this function is an import time optimization, which