Update README.md
This commit is contained in:
parent
e812d61e6e
commit
0f888cd9d4
@ -16,7 +16,7 @@ Add this to your `.pre-commit-config.yaml`:
|
|||||||
```yaml
|
```yaml
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: 'v0.0.245'
|
rev: 'v0.0.257'
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
```
|
```
|
||||||
@ -26,7 +26,7 @@ Or, to enable autofix:
|
|||||||
```yaml
|
```yaml
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: 'v0.0.245'
|
rev: 'v0.0.257'
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix, --exit-non-zero-on-fix]
|
args: [--fix, --exit-non-zero-on-fix]
|
||||||
|
Loading…
Reference in New Issue
Block a user