mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00
![]() ## 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 |