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

uv: parse scripts entries and warn on non-package projects #7428

Open
lucab opened this issue Sep 16, 2024 · 0 comments
Open

uv: parse scripts entries and warn on non-package projects #7428

lucab opened this issue Sep 16, 2024 · 0 comments
Labels
cli Related to the command line interface

Comments

@lucab
Copy link
Contributor

lucab commented Sep 16, 2024

This is a followup to #7034 and #7420.

It would be good to parse the scripting-related tables in pyproject.toml.

That unlocks two UX enhancements:

  • uv run can key-match and warn in a selective and non-annoying way.
  • uv sync can directly display the script name (or the total number of script, if many) that it skipped.
@zanieb zanieb added the cli Related to the command line interface label Sep 16, 2024
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
Projects
None yet
Development

No branches or pull requests

2 participants