Skip to content

Commit 0df9e73

Browse files
bowiechenmeta-codesync[bot]
authored andcommitted
apply Black 25.11.0 style in fbcode (74/92)
Summary: Formats the covered files with pyfmt. paintitblack Reviewed By: itamaro Differential Revision: D90476320 fbshipit-source-id: ccd49f02a100ca92611e3500dfa8a3e3a99eb5c3
1 parent 4519805 commit 0df9e73

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

later/coroutine.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import logging
2020
import sys
2121
import time
22-
2322
from typing import Any, Callable, Coroutine, Literal, overload, ParamSpec, TypeVar
2423

2524
if sys.version_info >= (3, 11): # pragma: no cover

later/task.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import logging
2222
import threading
2323
from collections.abc import Awaitable, Callable, Coroutine, Hashable, Mapping, Sequence
24-
2524
from functools import partial, wraps
2625
from inspect import isawaitable
2726
from types import TracebackType
@@ -385,7 +384,7 @@ async def _fix_task(self, task: asyncio.Task) -> None:
385384
self._tasks[new_task] = fixer
386385
else:
387386
raise TypeError(
388-
f"{fixer}(task) failed to return a task, returned:" f"{new_task}!"
387+
f"{fixer}(task) failed to return a task, returned:{new_task}!"
389388
) from exc
390389

391390
async def _handle_cancel(self) -> None:

later/tests/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from later.tests.test_event import Test_BiDirectionalEvent # noqa: F401
1919
from later.tests.test_task import TaskTests, WatcherTests # noqa: F401
2020
from later.tests.test_version import VersionTests # noqa: F401
21-
2221
from later.tests.unittest.test_case import ( # noqa: F401
2322
IgnoreAsyncioErrorsTestCase,
2423
IgnoreTaskLeaksTestCase,

0 commit comments

Comments
 (0)