Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Nov 15, 2025

@seisman seisman force-pushed the docstring/placeholder branch 4 times, most recently from c50845b to f44e356 Compare November 15, 2025 09:32
@seisman seisman added the maintenance Boring but important stuff for the core devs label Nov 15, 2025
@seisman seisman modified the milestone: 0.18.0 Nov 15, 2025
@seisman seisman changed the title fmt_docstrings: Support raw curly braces in docstrings WIP: fmt_docstrings: Support raw curly braces in docstrings Nov 15, 2025
@seisman seisman force-pushed the docstring/placeholder branch from 03ac916 to 7c1b978 Compare November 15, 2025 11:19
@seisman seisman force-pushed the docstring/placeholder branch 2 times, most recently from 565d256 to f9e1a80 Compare November 15, 2025 11:23
@seisman seisman force-pushed the docstring/placeholder branch from f9e1a80 to 99dd6e8 Compare November 15, 2025 11:25
@seisman seisman changed the title WIP: fmt_docstrings: Support raw curly braces in docstrings fmt_docstrings: Support raw curly braces in docstrings Nov 15, 2025
@seisman seisman changed the title fmt_docstrings: Support raw curly braces in docstrings fmt_docstrings: Use string template syntax for docstring placeholders and support curly braces in docstrings Nov 15, 2025
@seisman seisman added the needs review This PR has higher priority and needs review. label Nov 15, 2025
@seisman seisman marked this pull request as ready for review November 15, 2025 12:06
@seisman seisman added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. labels Nov 23, 2025
@seisman
Copy link
Member Author

seisman commented Nov 23, 2025

This is a big change in how the docstrings are written. Hopefully, @weiji14 can give this PR a review.

@seisman seisman requested a review from weiji14 November 26, 2025 02:00
Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

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

For a second I thought this was using Python 3.14 t-strings, but it is unrelated. LGTM!

@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Nov 26, 2025
@seisman seisman merged commit b4ebdf2 into main Nov 26, 2025
19 of 23 checks passed
@seisman seisman deleted the docstring/placeholder branch November 26, 2025 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fmt_docstring: Allow raw curly braces {} to avoid KeyError

4 participants