Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 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==24.*]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.14.11"
rev: "v0.14.14"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -60,14 +60,14 @@ repos:
- types-PyYAML

- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.7.4"
rev: "v3.8.1"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]

- repo: https://github.com/crate-ci/typos
rev: "v1.42.0"
rev: "v1.42.1"
hooks:
- id: typos
exclude: ^Gemfile\.lock$
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 @@ -140,7 +140,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.14.11"
rev: "v0.14.14"
hooks:
# id: ruff-check would go here if using both
- id: ruff-format
Expand Down Expand Up @@ -170,7 +170,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: "25.12.0"
rev: "26.1.0"
hooks:
- id: black
```
Expand Down Expand Up @@ -230,7 +230,7 @@ pre-commit hook.

```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.14.11"
rev: "v0.14.14"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -786,7 +786,7 @@ integration.

```yaml
- repo: https://github.com/crate-ci/typos
rev: "v1.42.0"
rev: "v1.42.1"
hooks:
- id: typos
args: []
Expand Down Expand Up @@ -895,7 +895,7 @@ number of different file types. An example of usage:

```yaml
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.7.4"
rev: "v3.8.1"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
Expand Down Expand Up @@ -1014,7 +1014,7 @@ You also might like the following hook, which cleans Jupyter outputs:

```yaml
- repo: https://github.com/kynan/nbstripout
rev: "0.8.2"
rev: "0.9.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 @@ -36,14 +36,14 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.7.4"
rev: "v3.8.1"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.14.11"
rev: "v0.14.14"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand Down
Loading