Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent 4ae0e14 commit 6a4d0b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
additional_dependencies: [black==24.*]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.1"
rev: "v0.7.2"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
8 changes: 4 additions & 4 deletions docs/pages/guides/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Here is the snippet to add the formatter to your `.pre-commit-config.yml`

```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.1"
rev: "v0.7.2"
hooks:
# id: ruff would go here if using both
- id: ruff-format
Expand Down Expand Up @@ -201,7 +201,7 @@ pre-commit hook.
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.1"
rev: "v0.7.2"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -745,7 +745,7 @@ following pre-commit config:

```yaml
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v19.1.2"
rev: "v19.1.3"
hooks:
- id: clang-format
types_or: [c++, c, cuda]
Expand Down Expand Up @@ -893,7 +893,7 @@ You also might like the following hook, which cleans Jupyter outputs:

```yaml
- repo: https://github.com/kynan/nbstripout
rev: "0.7.1"
rev: "0.8.0"
hooks:
- id: nbstripout
```
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.1"
rev: "v0.7.2"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -51,7 +51,7 @@ repos:
{%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %}

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v19.1.2"
rev: "v19.1.3"
hooks:
- id: clang-format
types_or: [c++, c, cuda]
Expand Down

0 comments on commit 6a4d0b3

Please sign in to comment.