diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 224aa25..335585d 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.3" hooks: - id: ruff args: @@ -9,31 +9,31 @@ 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: - prettier - prettier-plugin-toml - - repo: https://github.com/psf/black - rev: 23.3.0 + - repo: https://github.com/psf/black-pre-commit-mirror + 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.9 hooks: - id: pylint additional_dependencies: 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