diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8e08da7..f661bef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,7 +59,7 @@ repos: hooks: - id: git-check - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.34.0 + rev: 0.34.1 hooks: - id: check-github-actions - id: check-github-workflows @@ -76,7 +76,7 @@ repos: hooks: - id: ripsecrets - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.13.2 + rev: v0.14.3 hooks: - id: ruff-format args: @@ -92,8 +92,8 @@ repos: additional_dependencies: - prospector-profile-duplicated==1.10.5 # pypi - prospector-profile-utils==1.26.5 # pypi - - ruff==0.13.2 # pypi - - pylint[spelling]==3.3.8 # pypi + - ruff==0.14.3 # pypi + - pylint[spelling]==3.3.9 # pypi exclude: |- (?x)( ^tests?/? @@ -111,7 +111,7 @@ repos: - --profile=utils:pre-commit additional_dependencies: - prospector-profile-utils==1.26.5 # pypi - - ruff==0.13.2 # pypi + - ruff==0.14.3 # pypi - repo: https://github.com/sbrunner/jsonschema-validator rev: 1.0.0 hooks: @@ -138,7 +138,7 @@ repos: - . - tests/expected.yaml - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 41.132.5 + rev: 41.168.2 hooks: - id: renovate-config-validator - repo: https://github.com/sbrunner/python-versions-hook diff --git a/docker/operator_.py b/docker/operator_.py index 247d1ba..df49468 100755 --- a/docker/operator_.py +++ b/docker/operator_.py @@ -4,7 +4,7 @@ import hashlib import logging import os -from typing import Any, Optional, cast +from typing import Any, cast import kopf import requests @@ -136,7 +136,7 @@ async def update( status: kopf.Status, logger: kopf.Logger, **_: Any, -) -> Optional[dict[str, Any]]: +) -> dict[str, Any] | None: """Manage the update or resume of the webhook.""" logger.info( "Update or resume, Name: %s, Namespace: %s",