Drop the revision from the formatter examples
This commit is contained in:
parent
caa92debff
commit
25507cf2f9
@ -56,7 +56,6 @@ reformatting.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.0.289
|
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
```
|
```
|
||||||
@ -65,8 +64,6 @@ To check formatting without changing files, use `--check`:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
# Ruff version.
|
|
||||||
rev: v0.0.289
|
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
args: [--check]
|
args: [--check]
|
||||||
|
Loading…
Reference in New Issue
Block a user