Skip to content

Commit

Permalink
chore(deps): bump versions (#517)
Browse files Browse the repository at this point in the history
* [create-pull-request] automated change

* Update .pre-commit-config.yaml

---------

Co-authored-by: scientific-python-pr-tokenbot[bot] <181030687+scientific-python-pr-tokenbot[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <[email protected]>
  • Loading branch information
1 parent dafbd93 commit 4ae0e14
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
7 changes: 4 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/adamchainz/blacken-docs
rev: "1.19.0"
rev: "1.19.1"
hooks:
- id: blacken-docs
additional_dependencies: [black==24.*]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.0"
rev: "v0.7.1"
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.12.1"
rev: "v1.13.0"
hooks:
- id: mypy
files: "(src|tests)"
Expand All @@ -52,6 +52,7 @@ repos:
- click
- markdown-it-py
- pytest
- orjson
- repo-review>=0.10.6
- rich
- tomli>=2.0.2
Expand Down
12 changes: 6 additions & 6 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.0"
rev: "v0.7.1"
hooks:
# id: ruff would go here if using both
- id: ruff-format
Expand Down Expand Up @@ -180,7 +180,7 @@ markdown and restructured text. Note that because black is in

```yaml
- repo: https://github.com/adamchainz/blacken-docs
rev: "1.19.0"
rev: "1.19.1"
hooks:
- id: blacken-docs
additional_dependencies: [black==24.*]
Expand All @@ -201,7 +201,7 @@ pre-commit hook.
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.0"
rev: "v0.7.1"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -488,7 +488,7 @@ when clearly better (please always use them, they are faster) if you set

```yaml
- repo: https://github.com/asottile/pyupgrade
rev: "v3.18.0"
rev: "v3.19.0"
hooks:
- id: pyupgrade
args: ["--py39-plus"]
Expand Down Expand Up @@ -533,7 +533,7 @@ The MyPy addition for pre-commit:

```yaml
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.12.1"
rev: "v1.13.0"
hooks:
- id: mypy
files: src
Expand Down Expand Up @@ -808,7 +808,7 @@ can even get all [SchemaStore][]'s plugins with the

```yaml
- repo: https://github.com/abravalheri/validate-pyproject
rev: "v0.21"
rev: "v0.22"
hooks:
- id: validate-pyproject
additional_dependencies: ["validate-pyproject-schema-store[all]"]
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 @@ -6,7 +6,7 @@ exclude: ^.cruft.json|.copier-answers.yml$

repos:
- repo: https://github.com/adamchainz/blacken-docs
rev: "1.19.0"
rev: "1.19.1"
hooks:
- id: blacken-docs
additional_dependencies: [black==24.*]
Expand Down Expand Up @@ -42,7 +42,7 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.0"
rev: "v0.7.1"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -59,7 +59,7 @@ repos:
{%- endif %}

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.12.1"
rev: "v1.13.0"
hooks:
- id: mypy
files: src|tests
Expand Down Expand Up @@ -95,7 +95,7 @@ repos:
{%- endif %}

- repo: https://github.com/abravalheri/validate-pyproject
rev: "v0.21"
rev: "v0.22"
hooks:
- id: validate-pyproject
additional_dependencies: ["validate-pyproject-schema-store[all]"]
Expand Down

0 comments on commit 4ae0e14

Please sign in to comment.