8000 Bump version to 0.0.290; update required formatter revision (#51) · astral-sh/ruff-pre-commit@2771257 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2771257

Browse files
authored
Bump version to 0.0.290; update required formatter revision (#51)
1 parent 5accf96 commit 2771257

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To run the hook on Jupyter Notebooks too:
3939
```yaml
4040
- repo: https://github.com/astral-sh/ruff-pre-commit
4141
# Ruff version.
42-
rev: v0.0.289
42+
rev: v0.0.290
4343
hooks:
4444
- id: ruff
4545
types_or: [python, pyi, jupyter]
@@ -56,7 +56,8 @@ reformatting.
5656

5757
```yaml
5858
- repo: https://github.com/astral-sh/ruff-pre-commit
59-
rev: main
59+
# Ruff version.
60+
rev: v0.0.290
6061
hooks:
6162
- id: ruff-format
6263
```
@@ -65,12 +66,15 @@ To check formatting without changing files, use `--check`:
6566

6667
```yaml
6768
- repo: https://github.com/astral-sh/ruff-pre-commit
68-
rev: main
69+
# Ruff version.
70+
rev: v0.0.290
6971
hooks:
7072
- id: ruff-format
7173
args: [--check]
7274
```
7375

76+
Note `v0.0.290` is the minimum version that provides the `ruff-format` hook.
77+
7478
## License
7579

7680
MIT

0 commit comments

Comments
 (0)
0