Skip to content

[ruff] Also suggest asyncio.TaskGroup (RUF006) - #27461

Merged
ntBre merged 1 commit into
astral-sh:mainfrom
tjkuson:ruf006-tg
Aug 7, 2026
Merged

ntBre merged 1 commit into
astral-sh:mainfrom
tjkuson:ruf006-tg

Conversation

@tjkuson

@tjkuson tjkuson commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Suggest using asyncio.TaskGroup in asyncio-dangling-task (RUF006).

Related to #8451 (comment)

Test Plan

cargo textest run

@tjkuson tjkuson changed the title Suggest asyncio.TaskGroup in RUF006 [ruff] suggest asyncio.TaskGroup in asyncio-dangling-task docs Aug 4, 2026
@tjkuson tjkuson changed the title [ruff] suggest asyncio.TaskGroup in asyncio-dangling-task docs [ruff] suggest asyncio.TaskGroup in RUF006 docs Aug 4, 2026
@astral-sh-bot

astral-sh-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@tjkuson
tjkuson marked this pull request as ready for review August 4, 2026 14:57
@astral-sh-bot
astral-sh-bot Bot requested a review from ntBre August 4, 2026 14:57

@ntBre ntBre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, thank you! I'll merge once GitHub Actions recovers and today's release finishes.

@ntBre ntBre added the documentation Improvements or additions to documentation label Aug 6, 2026
@ntBre ntBre changed the title [ruff] suggest asyncio.TaskGroup in RUF006 docs [ruff] Also suggest asyncio.TaskGroup (RUF006) Aug 6, 2026
@ntBre
ntBre merged commit 2c5dcc2 into astral-sh:main Aug 7, 2026
47 checks passed
@tjkuson
tjkuson deleted the ruf006-tg branch August 7, 2026 21:06
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