mirror of https://github.com/astral-sh/ruff
Promote uv in installation guides (#14056)
> [Because this is an Astral repository ;)](https://github.com/astral-sh/packse/pull/183) [Originally reported](https://discord.com/channels/1039017663004942429/1039017663512449056/1302319421204729906) 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
|
|
@ -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:
|
Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
# With uv.
|
||||||
|
uv add --dev ruff # to add ruff to your project
|
||||||
|
uv tool install ruff # to install ruff globally
|
||||||
|
|
||||||
# With pip.
|
# With pip.
|
||||||
pip install ruff
|
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:
|
Nope! Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI:
|
||||||
|
|
||||||
```console
|
```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
|
$ pip install ruff
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue