Skip to content

Avoid false metadata matches in strings - #2139

Open
jw9829 wants to merge 1 commit into
pypa:mainfrom
jw9829:recommend-inline-metadata-in-strings
Open

jw9829 wants to merge 1 commit into
pypa:mainfrom
jw9829:recommend-inline-metadata-in-strings

Conversation

@jw9829

@jw9829 jw9829 commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Show how adjacent string literals keep a # /// script line from being mistaken for metadata by a simple scanner.

Fixes #1835.


📚 Documentation preview 📚: https://python-packaging-user-guide--2139.org.readthedocs.build/en/2139/

@henryiii
henryiii force-pushed the recommend-inline-metadata-in-strings branch from b7e4c9d to 4dcf6d3 Compare October 29, 2026 13:40
@rgommers rgommers added type: enhancement A self-contained enhancement or new feature component: specifications labels Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: specifications type: enhancement A self-contained enhancement or new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add recommendation for "escaping" quoted inline script metadata

2 participants