diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 92a3a866..c79c4e4f 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.11.2" + rev: "v0.11.4" hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index b50d8b61..83bcc9b0 100644 --- a/docs/pages/guides/style.md +++ b/docs/pages/guides/style.md @@ -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.11.2" + rev: "v0.11.4" hooks: # id: ruff would go here if using both - id: ruff-format @@ -201,7 +201,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.11.2" + rev: "v0.11.4" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -390,7 +390,7 @@ the flake8 addition for pre-commit, with the `bugbear` plugin: ```yaml - repo: https://github.com/pycqa/flake8 - rev: "7.1.2" + rev: "7.2.0" hooks: - id: flake8 additional_dependencies: [flake8-bugbear] @@ -644,7 +644,7 @@ important parts (like Python classifiers) are in sync. This tool, ```yaml - repo: https://github.com/asottile/setup-cfg-fmt - rev: "v2.7.0" + rev: "v2.8.0" hooks: - id: setup-cfg-fmt args: [--include-version-classifiers, --max-py-version=3.12] @@ -822,7 +822,7 @@ schemas, and you can load them via URL. It work on JSON, YAML, and TOML. ```yaml - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.31.3" + rev: "0.32.1" hooks: - id: check-dependabot - id: check-github-workflows diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 7f1a0e48..5846d6f8 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.11.2" + rev: "v0.11.4" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -101,7 +101,7 @@ repos: additional_dependencies: ["validate-pyproject-schema-store[all]"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.31.3" + rev: "0.32.1" hooks: {%- if cookiecutter.__ci == "github" %} - id: check-dependabot