Skip to content

[flake8-async, pylint] Recognize builtins.open (ASYNC230, PLW1514) - #28021

Merged
ntBre merged 1 commit into
astral-sh:mainfrom
jelle-openai:jelle/codex/async230-builtins-open
Aug 28, 2026
Merged

ntBre merged 1 commit into
astral-sh:mainfrom
jelle-openai:jelle/codex/async230-builtins-open

Conversation

@jelle-openai

Copy link
Copy Markdown
Contributor

Recognize explicitly qualified and imported builtin open calls when checking for blocking I/O and missing text encodings.

Fixes #28012.

…W1514`)

Recognize explicitly qualified and imported builtin open calls when checking
for blocking I/O and missing text encodings.

Fixes astral-sh#28012.
@astral-sh-bot
astral-sh-bot Bot requested a review from ntBre August 25, 2026 03:34
@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 added the bug An issue describing something that isn't working, or a PR that fixes a bug label Aug 28, 2026

@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 merged commit 1f7015e into astral-sh:main Aug 28, 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-open-call-in-async-function (ASYNC230) does not trigger on builtins.open

2 participants