Skip to content

Conversation

MeGaGiGaGon
Copy link
Contributor

Summary

Part of #18972

This PR makes trio-sync-call (ASYNC105)'s example error out-of-the-box

Old example

async def double_sleep(x):
    trio.sleep(2 * x)

New example

import trio


async def double_sleep(x):
    trio.sleep(2 * x)

Test Plan

N/A, no functionality/tests affected

Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@dylwil3 dylwil3 added the documentation Improvements or additions to documentation label Jun 28, 2025
@dylwil3 dylwil3 merged commit c5995c4 into astral-sh:main Jun 28, 2025
36 checks passed
@MeGaGiGaGon MeGaGiGaGon deleted the patch-8 branch June 28, 2025 15:19
@MeGaGiGaGon MeGaGiGaGon restored the patch-8 branch June 30, 2025 18:37
@MeGaGiGaGon MeGaGiGaGon deleted the patch-8 branch June 30, 2025 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants