mirror of https://github.com/astral-sh/ruff
Merge 5b81a03638 into b0bc990cbf
This commit is contained in:
commit
0e8121cbbd
|
|
@ -91,11 +91,11 @@ On **Docker**, it is published as `ghcr.io/astral-sh/ruff`, tagged for each rele
|
||||||
the latest release.
|
the latest release.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -v .:/io --rm ghcr.io/astral-sh/ruff check
|
$ docker run -v .:/io -u "$(id -u):$(id -g)" --rm ghcr.io/astral-sh/ruff check
|
||||||
$ docker run -v .:/io --rm ghcr.io/astral-sh/ruff:0.3.0 check
|
$ docker run -v .:/io -u "$(id -u):$(id -g)" --rm ghcr.io/astral-sh/ruff:0.11.2 check
|
||||||
|
|
||||||
$ # Or, for Podman on SELinux.
|
$ # Or, for Podman on SELinux.
|
||||||
$ docker run -v .:/io:Z --rm ghcr.io/astral-sh/ruff check
|
$ docker run -v .:/io:Z -u "$(id -u):$(id -g)" --rm ghcr.io/astral-sh/ruff check
|
||||||
```
|
```
|
||||||
|
|
||||||
[](https://repology.org/project/ruff-python-linter/versions)
|
[](https://repology.org/project/ruff-python-linter/versions)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue