Skip to content

feat(gazelle): enable pyi attrs by default#3753

Open
amartani wants to merge 1 commit intobazel-contrib:mainfrom
benchling:martani/update-defaults
Open

feat(gazelle): enable pyi attrs by default#3753
amartani wants to merge 1 commit intobazel-contrib:mainfrom
benchling:martani/update-defaults

Conversation

@amartani
Copy link
Copy Markdown
Contributor

@amartani amartani commented May 4, 2026

Default python_generate_pyi_deps and python_generate_pyi_srcs to true so generated targets preserve type-only dependencies and sibling stub files without extra directives. These directives have been available for many versions now, and defaulting to true better matches the intended semantics of current rules_python versions.

Write detailed docs for python_generate_pyi_deps since that was missing.

Default pyi_deps and pyi_srcs generation to true so generated targets preserve type-only dependencies and sibling stub files without extra directives.
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the default settings for the Gazelle Python extension, setting both python_generate_pyi_deps and python_generate_pyi_srcs to true by default. The documentation has been expanded with detailed usage examples for these directives, and the CHANGELOG.md and configuration code have been updated to reflect these changes. I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant