Bump version to 0.0.290; update required formatter revision (#51)

This commit is contained in:
Zanie Blue 2023-09-15 14:37:18 -05:00 committed by GitHub
parent 5accf96811
commit 277125742a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ To run the hook on Jupyter Notebooks too:
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.0.289
rev: v0.0.290
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
@ -56,7 +56,8 @@ reformatting.
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: main
# Ruff version.
rev: v0.0.290
hooks:
- id: ruff-format
```
@ -65,12 +66,15 @@ To check formatting without changing files, use `--check`:
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: main
# Ruff version.
rev: v0.0.290
hooks:
- id: ruff-format
args: [--check]
```
Note `v0.0.290` is the minimum version that provides the `ruff-format` hook.
## License
MIT