Skip to content

Commit

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

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.3"
rev: "v0.1.5"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -43,7 +43,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.6.1"
rev: "v1.7.0"
hooks:
- id: mypy
files: "(src|tests)"
Expand Down
10 changes: 5 additions & 5 deletions docs/pages/guides/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Here is the snippet to add Black to your `.pre-commit-config.yml`:

```yaml
- repo: https://github.com/psf/black-pre-commit-mirror
rev: "23.10.1"
rev: "23.11.0"
hooks:
- id: black
```
Expand Down Expand Up @@ -136,7 +136,7 @@ look like Black, but run 30x faster. Here is the snippet to add Black to your
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.3"
rev: "v0.1.5"
hooks:
# id: ruff would go here if using both
- id: ruff-format
Expand Down Expand Up @@ -197,7 +197,7 @@ pre-commit hook.
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.3"
rev: "v0.1.5"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -529,7 +529,7 @@ The MyPy addition for pre-commit:

```yaml
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.6.1"
rev: "v1.7.0"
hooks:
- id: mypy
files: src
Expand Down Expand Up @@ -744,7 +744,7 @@ following pre-commit config:

```yaml
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v17.0.3"
rev: "v17.0.4"
hooks:
- id: clang-format
types_or: [c++, c, cuda]
Expand Down
8 changes: 4 additions & 4 deletions {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: "23.10.1"
rev: "23.11.0"
hooks:
- id: black-jupyter

Expand Down Expand Up @@ -45,7 +45,7 @@ repos:
args: [--prose-wrap=always]

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

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v17.0.3"
rev: "v17.0.4"
hooks:
- id: clang-format
types_or: [c++, c, cuda]

{%- endif %}

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.6.1"
rev: "v1.7.0"
hooks:
- id: mypy
files: src|tests
Expand Down

0 comments on commit f8905b3

Please sign in to comment.