mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-10 03:59:33 +00:00
Move SELinux docs to example (#12211)
This commit is contained in:
parent
7df10ea3e9
commit
8198723201
1 changed files with 5 additions and 3 deletions
|
|
@ -27,8 +27,8 @@ curl -LsSf https://astral.sh/ruff/0.5.0/install.sh | sh
|
|||
powershell -c "irm https://astral.sh/ruff/0.5.0/install.ps1 | iex"
|
||||
```
|
||||
|
||||
For **macOS Homebrew** and **Linuxbrew** users, Ruff is also available as [`ruff`](https://formulae.brew.sh/formula/ruff)
|
||||
on Homebrew:
|
||||
For **macOS Homebrew** and **Linuxbrew** users, Ruff is also available
|
||||
as [`ruff`](https://formulae.brew.sh/formula/ruff) on Homebrew:
|
||||
|
||||
```shell
|
||||
brew install ruff
|
||||
|
|
@ -70,11 +70,13 @@ sudo zypper install python3-ruff
|
|||
|
||||
On **Docker**, it is published as `ghcr.io/astral-sh/ruff`, tagged for each release and `latest` for
|
||||
the latest release.
|
||||
If you use Podman and SELinux, mount the current directory by using `.:/io:Z`.
|
||||
|
||||
```shell
|
||||
docker run -v .:/io --rm ghcr.io/astral-sh/ruff check
|
||||
docker run -v .:/io --rm ghcr.io/astral-sh/ruff:0.3.0 check
|
||||
|
||||
# Or, for Podman on SELinux.
|
||||
docker run -v .:/io:Z --rm ghcr.io/astral-sh/ruff check
|
||||
```
|
||||
|
||||
[](https://repology.org/project/ruff-python-linter/versions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue