mirror of https://github.com/astral-sh/ruff
## Summary <!-- What's the purpose of the change? What does it do, and why? --> Fix `await-outside-async` to allow `await` at the top-level scope of a notebook. ```python # foo.ipynb await asyncio.sleep(1) # should be allowed ``` ## Test Plan <!-- How was it tested? --> A unit test |
||
|---|---|---|
| .. | ||
| fixtures | ||
| package | ||
| project | ||
| __init__.py | ||
| disallowed_rule_names.txt | ||