Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#572)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 5, 2025
1 parent bfa6159 commit b03b49a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# dependency. Make sure to update flake8-bugbear manually on a regular basis.
repos:
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
language_version: python3
Expand All @@ -11,7 +11,7 @@ repos:
- --target-version=py38
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.9.3'
rev: 'v0.9.4'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion kr8s/_async_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def call(self, func: Callable[P, Awaitable[T]], *args, **kwargs) -> T:


def run_sync(
coro: Callable[P, AsyncGenerator | Awaitable[T]]
coro: Callable[P, AsyncGenerator | Awaitable[T]],
) -> Callable[P, Generator | T]:
"""Wraps a coroutine in a function that blocks until it has executed.
Expand Down

0 comments on commit b03b49a

Please sign in to comment.