Replace sync open()
calls within async functions with aiofiles.open()
in code examples
#1
Annotations
3 errors
Ruff (ASYNC101):
examples/web_ws.py#L21
examples/web_ws.py:21:14: ASYNC101 Async functions should not call `open`, `time.sleep`, or `subprocess` methods
|
Ruff (ASYNC101):
tools/bench-asyncio-write.py#L126
tools/bench-asyncio-write.py:126:10: ASYNC101 Async functions should not call `open`, `time.sleep`, or `subprocess` methods
|
ruff
Process completed with exit code 1.
|