mirror of https://github.com/astral-sh/ruff
Update hook id in README and in .pre-commit-config.yaml (#492)
This commit is contained in:
parent
1b5db80b32
commit
2e63bb6dcb
|
|
@ -1,8 +1,8 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
rev: v0.0.40
|
rev: v0.0.86
|
||||||
hooks:
|
hooks:
|
||||||
- id: lint
|
- id: ruff
|
||||||
|
|
||||||
- repo: https://github.com/abravalheri/validate-pyproject
|
- repo: https://github.com/abravalheri/validate-pyproject
|
||||||
rev: v0.10.1
|
rev: v0.10.1
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,9 @@ repos:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!-- TODO(charlie): Remove this message a few versions after v0.0.86. -->
|
||||||
|
_Note: prior to `v0.0.86`, `ruff-pre-commit` used `lint` (rather than `ruff`) as the hook ID._
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Ruff is configurable both via `pyproject.toml` and the command line.
|
Ruff is configurable both via `pyproject.toml` and the command line.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue