Bump version to 0.0.290; update required formatter revision (#51)
This commit is contained in:
parent
5accf96811
commit
277125742a
10
README.md
10
README.md
@ -39,7 +39,7 @@ To run the hook on Jupyter Notebooks too:
|
|||||||
```yaml
|
```yaml
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: v0.0.289
|
rev: v0.0.290
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
types_or: [python, pyi, jupyter]
|
types_or: [python, pyi, jupyter]
|
||||||
@ -56,7 +56,8 @@ reformatting.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: main
|
# Ruff version.
|
||||||
|
rev: v0.0.290
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
```
|
```
|
||||||
@ -65,12 +66,15 @@ 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
|
||||||
rev: main
|
# Ruff version.
|
||||||
|
rev: v0.0.290
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
args: [--check]
|
args: [--check]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note `v0.0.290` is the minimum version that provides the `ruff-format` hook.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
Loading…
Reference in New Issue
Block a user