mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:23:11 +00:00
Promote uv in installation guides (#14056)
> [Because this is an Astral repository
;)](https://github.com/astral-sh/packse/pull/183)
[Originally
reported](1302319421
)
by clearfram3 on Discord.
`grep`ping for `pip install` in `.md` files reveals a few other places
where the same fix might be applicable.
---------
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
56a631a868
commit
8df4983057
2 changed files with 9 additions and 0 deletions
|
@ -119,6 +119,10 @@ For more, see the [documentation](https://docs.astral.sh/ruff/).
|
|||
Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI:
|
||||
|
||||
```shell
|
||||
# With uv.
|
||||
uv add --dev ruff # to add ruff to your project
|
||||
uv tool install ruff # to install ruff globally
|
||||
|
||||
# With pip.
|
||||
pip install ruff
|
||||
|
||||
|
|
|
@ -223,6 +223,11 @@ Ruff is installable under any Python version from 3.7 onwards.
|
|||
Nope! Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI:
|
||||
|
||||
```console
|
||||
# With uv.
|
||||
$ uv add --dev ruff # to add ruff to your project
|
||||
$ uv tool install ruff # to install ruff globally
|
||||
|
||||
# With pip
|
||||
$ pip install ruff
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue