Skip to content

[flake8-no-pep420] Document preview behavior (INP001) - #29764

Merged
ntBre merged 2 commits into
astral-sh:mainfrom
mangod12:docs/inp001-preview-description
Oct 27, 2026
Merged

ntBre merged 2 commits into
astral-sh:mainfrom
mangod12:docs/inp001-preview-description

Conversation

@mangod12

@mangod12 mangod12 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

INP001's preview-mode check for missing __init__.py files in namespace-package directories with nested packages is now documented.
Empty directories and directory trees with no Python files are not flagged.

Test Plan

git diff --check passing. Documentation generation stalled while syncing the Rust 1.99 toolchain; no tests run.

@mangod12
mangod12 marked this pull request as ready for review October 27, 2026 16:51
@ntBre ntBre added the bot:ai-policy-comment Trigger a bot comment explaining the org AI policy label Oct 27, 2026
@astral-automations-bot

Copy link
Copy Markdown
Contributor

We support using AI (i.e., LLMs) while coding. However, AI should not be used to communicate with maintainers.

Please read and follow our AI policy when submitting issues and pull requests.

@mangod12

mangod12 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Its a doc change fixed it though

@ntBre ntBre added the documentation Improvements or additions to public-facing documentation label Oct 27, 2026
@ntBre ntBre changed the title [flake8-no-pep420] Clarify INP001 preview behavior [flake8-no-pep420] Document preview behavior (INP001) Oct 27, 2026
@ntBre
ntBre enabled auto-merge (squash) October 27, 2026 19:18
@ntBre
ntBre merged commit 22c07fe into astral-sh:main Oct 27, 2026
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:ai-policy-comment Trigger a bot comment explaining the org AI policy documentation Improvements or additions to public-facing documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants