Format files with Ruff (#17643)

I thought ruff check would also format, but it doesn't.

This runs ruff format in CI and dev scripts. The first commit is just a
run of `ruff format .` in the root directory.
This commit is contained in:
Quentin Gliech
2024-09-02 12:39:04 +01:00
committed by GitHub
parent 709b7363fe
commit 7d52ce7d4b
152 changed files with 526 additions and 492 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ def do_patch() -> None:
return
def new_inline_callbacks(
f: Callable[P, Generator["Deferred[object]", object, T]]
f: Callable[P, Generator["Deferred[object]", object, T]],
) -> Callable[P, "Deferred[T]"]:
@functools.wraps(f)
def wrapped(*args: P.args, **kwargs: P.kwargs) -> "Deferred[T]":