▲ | drdaeman 5 days ago | |||||||||||||
Isn’t there `uv tool run ruff` already for this? Or `uv run ruff` if it’s a proper dependency? I’m not sure what’s the point of a special shortcut command, unless there are plans to make it flexible so it’ll be an abstraction over formatters (unifying ruff, black, etc). | ||||||||||||||
▲ | charliermarsh 5 days ago | parent | next [-] | |||||||||||||
Yeah, you can definitely use `uvx ruff` (an alias for `uv tool run ruff`) to invoke Ruff. That's what I've done in my own projects historically. The goal here is to see if users like a more streamlined experience with an opinionated default, like you have in Rust or Go: install uv, use `uv init` to create a project, use `uv run` to run your code, `uv format` to format it, etc. Maybe they won't like it! TBD. (Ruff is installed when you invoke `uv format`, rather than bundled with the uv binary, so if you never use `uv format`, there aren't any material downsides to the experiment.) | ||||||||||||||
| ||||||||||||||
▲ | chippiewill 5 days ago | parent | prev | next [-] | |||||||||||||
It's part of the mission for uv to become "cargo for python". A one stop swiss-army knife for everything you need to manage a Python project. I think it'll get a `uv test` command at some point too. The whole point is you just install `uv` and stop thinking about the pantheon of tools. | ||||||||||||||
| ||||||||||||||
▲ | smohare 5 days ago | parent | prev [-] | |||||||||||||
[dead] |