Bump README.md version to 0.0.291
This commit is contained in:
parent
e6d90feffc
commit
e5fa9aeaf1
16
README.md
16
README.md
@ -1,9 +1,9 @@
|
||||
# ruff-pre-commit
|
||||
|
||||
[](https://github.com/astral-sh/ruff)
|
||||
[](https://pypi.python.org/pypi/ruff)
|
||||
[](https://pypi.python.org/pypi/ruff)
|
||||
[](https://pypi.python.org/pypi/ruff)
|
||||
[](https://pypi.python.org/pypi/ruff)
|
||||
[](https://pypi.python.org/pypi/ruff)
|
||||
[](https://pypi.python.org/pypi/ruff)
|
||||
[](https://github.com/astral-sh/ruff-pre-commit/actions)
|
||||
|
||||
A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/astral-sh/ruff).
|
||||
@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`:
|
||||
```yaml
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.0.290
|
||||
rev: v0.0.291
|
||||
hooks:
|
||||
- id: ruff
|
||||
```
|
||||
@ -28,7 +28,7 @@ Or, to enable autofix:
|
||||
```yaml
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.0.290
|
||||
rev: v0.0.291
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
@ -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.290
|
||||
rev: v0.0.291
|
||||
hooks:
|
||||
- id: ruff
|
||||
types_or: [python, pyi, jupyter]
|
||||
@ -57,7 +57,7 @@ reformatting.
|
||||
```yaml
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.0.290
|
||||
rev: v0.0.291
|
||||
hooks:
|
||||
- id: ruff-format
|
||||
```
|
||||
@ -67,7 +67,7 @@ To check formatting without changing files, use `--check`:
|
||||
```yaml
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.0.290
|
||||
rev: v0.0.291
|
||||
hooks:
|
||||
- id: ruff-format
|
||||
args: [--check]
|
||||
|
Loading…
Reference in New Issue
Block a user