Skip to content

EXE003 and uvxor uv tool run #18902

@jretz

Description

@jretz

Summary

Just as #13021 added support to EXE003 for uv run in shebang lines, it would be nice to add uvx and/or uv tool run. This is useful for tools like marimo:

  • #!/usr/bin/env -S uvx marimo edit --sandbox

    or

  • #!/usr/bin/env -S uv tool run marimo edit --sandbox

For those unfamiliar with marimo: https://docs.astral.sh/uv/guides/integration/marimo/

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ruleImplementing or modifying a lint rule

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions