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 13:39:04 +02:00
committed by GitHub
parent 709b7363fe
commit 7d52ce7d4b
152 changed files with 526 additions and 492 deletions

View File

@@ -40,7 +40,7 @@ T = TypeVar("T")
def make_test(
main: Callable[[ISynapseReactor, int], Coroutine[Any, Any, float]]
main: Callable[[ISynapseReactor, int], Coroutine[Any, Any, float]],
) -> Callable[[int], float]:
"""
Take a benchmark function and wrap it in a reactor start and stop.