Skip to content

[flake8-async] Detect blocking generic HTTP requests (ASYNC210) - #28024

Merged
ntBre merged 1 commit into
astral-sh:mainfrom
jelle-openai:jelle/codex/async210-request
Aug 25, 2026
Merged

ntBre merged 1 commit into
astral-sh:mainfrom
jelle-openai:jelle/codex/async210-request

Conversation

@jelle-openai

Copy link
Copy Markdown
Contributor

Recognize requests.request and httpx.request alongside their method-specific helpers when checking for blocking HTTP calls in async functions.

Fixes #28015.

Recognize requests.request and httpx.request alongside their method-specific
helpers when checking for blocking HTTP calls in async functions.

Fixes astral-sh#28015.
@astral-sh-bot
astral-sh-bot Bot requested a review from ntBre August 25, 2026 03:39
@astral-sh-bot

astral-sh-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@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.

Thank you!

@ntBre ntBre added the bug An issue describing something that isn't working, or a PR that fixes a bug label Aug 25, 2026
@ntBre
ntBre merged commit 373a60f into astral-sh:main Aug 25, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue describing something that isn't working, or a PR that fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

blocking-http-call-in-async-function (ASYNC210) false negative on requests.request

2 participants