Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user-facing output to indicate PEP 723 script #4881

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Conversation

charliermarsh
Copy link
Member

No description provided.

@charliermarsh charliermarsh added cli Related to the command line interface preview Experimental behavior labels Jul 8, 2024
debug!("Found PEP 723 script at: {}", target.display());
writeln!(
printer.stderr(),
"Running PEP 723 script at: {}",
Copy link
Member

Choose a reason for hiding this comment

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

Can we refer to "inline script metadata" instead of the PEP? I think it'd be good to normalize the term and discuss things as the user-facing concept.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok

debug!("Found PEP 723 script at: {}", target.display());
writeln!(
printer.stderr(),
"Reading inline script metadata from: {}",
Copy link
Member

Choose a reason for hiding this comment

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

A bit of a nit, but we've already read it right? And the user passed us this script name already? Should we just say "Using inline script metadata for requirements" (a little unsure about "requirements")

Copy link
Member Author

Choose a reason for hiding this comment

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

I would prefer "Using inline script metadata for: {}"

@charliermarsh charliermarsh merged commit ffcc052 into main Jul 8, 2024
49 checks passed
@charliermarsh charliermarsh deleted the charlie/pep branch July 8, 2024 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants