diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bff05066..d62f47de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: additional_dependencies: [black==24.*] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.6" + rev: "v0.14.7" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -43,7 +43,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.18.2" + rev: "v1.19.0" hooks: - id: mypy files: "(src|tests|noxfile.py)" @@ -60,7 +60,7 @@ repos: - types-PyYAML - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.6.2" + rev: "v3.7.3" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index 9599ee08..d39e9825 100644 --- a/docs/pages/guides/style.md +++ b/docs/pages/guides/style.md @@ -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.6" + rev: "v0.14.7" hooks: # id: ruff-check would go here if using both - id: ruff-format @@ -230,7 +230,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.6" + rev: "v0.14.7" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -621,7 +621,7 @@ The MyPy addition for pre-commit: ```yaml - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.18.2" + rev: "v1.19.0" hooks: - id: mypy files: src @@ -860,7 +860,7 @@ number of different file types. An example of usage: ```yaml - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.6.2" + rev: "v3.7.3" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 6d988702..636e6a1a 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -36,14 +36,14 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.6.2" + rev: "v3.7.3" 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.6" + rev: "v0.14.7" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -60,7 +60,7 @@ repos: {%- endif %} - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.18.2" + rev: "v1.19.0" hooks: - id: mypy files: src|tests|noxfile.py