From 0ef288dcdfda3033876a998a548a7ec3aa59bb13 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Sep 2025 16:28:42 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.261 → v0.13.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.261...v0.13.2) - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.6 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.6...v4.0.0-alpha.8) - [github.com/psf/black: 23.3.0 → 25.9.0](https://github.com/psf/black/compare/23.3.0...25.9.0) - [github.com/streetsidesoftware/cspell-cli: v6.31.0 → v9.2.0](https://github.com/streetsidesoftware/cspell-cli/compare/v6.31.0...v9.2.0) - [github.com/Lucas-C/pre-commit-hooks: v1.4.2 → v1.5.5](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.4.2...v1.5.5) - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v6.0.0) - [github.com/codespell-project/codespell: v2.2.4 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.2.4...v2.4.1) - [github.com/adrienverge/yamllint: v1.30.0 → v1.37.1](https://github.com/adrienverge/yamllint/compare/v1.30.0...v1.37.1) - [github.com/pycqa/pylint: v2.17.1 → v3.3.8](https://github.com/pycqa/pylint/compare/v2.17.1...v3.3.8) --- .pre-commit-config.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 224aa25..3654934 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.261" + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: "v0.13.2" hooks: - id: ruff args: @@ -9,7 +9,7 @@ repos: - "--exit-non-zero-on-fix" - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.0-alpha.6" + rev: "v4.0.0-alpha.8" hooks: - id: prettier additional_dependencies: @@ -17,23 +17,23 @@ repos: - prettier-plugin-toml - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 25.9.0 hooks: - id: black - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v6.31.0 + rev: v9.2.0 hooks: - id: cspell name: Spell check with cspell - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.4.2 + rev: v1.5.5 hooks: - id: remove-tabs - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: - id: check-merge-conflict - id: check-symlinks @@ -44,12 +44,12 @@ repos: - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.2.4 + rev: v2.4.1 hooks: - id: codespell - repo: https://github.com/adrienverge/yamllint - rev: v1.30.0 + rev: v1.37.1 hooks: - id: yamllint args: @@ -62,7 +62,7 @@ repos: - id: darglint - repo: https://github.com/pycqa/pylint - rev: v2.17.1 + rev: v3.3.8 hooks: - id: pylint additional_dependencies: From 6ad9013f50da3d844e20ad66597e05ff36a93bef Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Sep 2025 16:29:04 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- collection_prep/cmd/runtime.py | 1 + collection_prep/cmd/update.py | 1 + collection_prep/cmd/version.py | 1 + collection_prep/jinja_utils.py | 1 + collection_prep/utils.py | 1 + 5 files changed, 5 insertions(+) diff --git a/collection_prep/cmd/runtime.py b/collection_prep/cmd/runtime.py index f8ade6b..4f4e16e 100644 --- a/collection_prep/cmd/runtime.py +++ b/collection_prep/cmd/runtime.py @@ -1,4 +1,5 @@ """Get ready for 1.0.0.""" + import glob import logging import os diff --git a/collection_prep/cmd/update.py b/collection_prep/cmd/update.py index 8b6d1ba..dc8e72a 100644 --- a/collection_prep/cmd/update.py +++ b/collection_prep/cmd/update.py @@ -1,4 +1,5 @@ """Get ready for 1.0.0.""" + import logging import os import platform diff --git a/collection_prep/cmd/version.py b/collection_prep/cmd/version.py index a994df3..4296d89 100644 --- a/collection_prep/cmd/version.py +++ b/collection_prep/cmd/version.py @@ -1,4 +1,5 @@ """Script to guess the next version of an ansible collection.""" + import logging import sys diff --git a/collection_prep/jinja_utils.py b/collection_prep/jinja_utils.py index 305c902..461c706 100644 --- a/collection_prep/jinja_utils.py +++ b/collection_prep/jinja_utils.py @@ -1,4 +1,5 @@ """Utilities for jinja2.""" + import re from html import escape as html_escape diff --git a/collection_prep/utils.py b/collection_prep/utils.py index 5627b98..e8050d9 100644 --- a/collection_prep/utils.py +++ b/collection_prep/utils.py @@ -1,4 +1,5 @@ """Get ready for 1.0.0.""" + import datetime from redbaron import RedBaron