mirror of https://github.com/astral-sh/ruff
## Summary Part of #18972 This PR makes [trio-sync-call (ASYNC105)](https://docs.astral.sh/ruff/rules/trio-sync-call/#trio-sync-call-async105)'s example error out-of-the-box [Old example](https://play.ruff.rs/5b267e01-1c0a-4902-949e-45fc46f8b0d0) ```py async def double_sleep(x): trio.sleep(2 * x) ``` [New example](https://play.ruff.rs/eba6ea40-ff88-4ea8-8cb4-cea472c15c53) ```py import trio async def double_sleep(x): trio.sleep(2 * x) ``` ## Test Plan <!-- How was it tested? --> N/A, no functionality/tests affected |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| Cargo.toml | ||