Skip to content

Commit b0bc6b2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 6d5fe41 commit b0bc6b2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

returns/primitives/reawaitable.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
class AsyncLock(Protocol):
77
"""A protocol for an asynchronous lock."""
88

9-
async def __aenter__(self) -> None:
10-
...
9+
async def __aenter__(self) -> None: ...
1110

12-
async def __aexit__(self, exc_type, exc_val, exc_tb) -> None:
13-
...
11+
async def __aexit__(self, exc_type, exc_val, exc_tb) -> None: ...
1412

1513

1614
# Try to use anyio.Lock, fall back to asyncio.Lock

0 commit comments

Comments
 (0)