Skip to content

Commit 72f3bad

Browse files
committed
Updating dependencies
1 parent 80dc415 commit 72f3bad

File tree

8 files changed

+846
-805
lines changed

8 files changed

+846
-805
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929

3030
# Run the Ruff linter.
3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: v0.14.10
32+
rev: v0.15.5
3333
hooks:
3434
# Linter
3535
- id: ruff
@@ -38,7 +38,7 @@ repos:
3838
- id: ruff-format
3939

4040
- repo: https://github.com/kynan/nbstripout
41-
rev: 0.8.2
41+
rev: 0.9.1
4242
hooks:
4343
- id: nbstripout
4444

dask-test/uv.lock

Lines changed: 117 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-health-check/docker_health_check/enums.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from enum import Enum, EnumMeta
1+
from enum import Enum, EnumMeta, StrEnum
22
from typing import TYPE_CHECKING, Any, cast
33

44
if TYPE_CHECKING:
@@ -17,19 +17,19 @@ def __call__(cls, value: str, *args: Any, **kwargs: Any): # type: ignore # noqa
1717
raise
1818

1919

20-
class ContainerStatus(str, Enum, metaclass=_CaseInsensitiveEnumMeta):
20+
class ContainerStatus(StrEnum, metaclass=_CaseInsensitiveEnumMeta):
2121
EXITED = "exited"
2222
PAUSED = "paused"
2323
RUNNING = "running"
2424
RESTARTING = "restarting"
2525

2626

27-
class HealthCheck(str, Enum, metaclass=_CaseInsensitiveEnumMeta):
27+
class HealthCheck(StrEnum, metaclass=_CaseInsensitiveEnumMeta):
2828
UNKNOWN = "unknown"
2929
HEALTHY = "healthy"
3030
UNHEALTHY = "unhealthy"
3131

3232

33-
class RestartStatus(str, Enum, metaclass=_CaseInsensitiveEnumMeta):
33+
class RestartStatus(StrEnum, metaclass=_CaseInsensitiveEnumMeta):
3434
SUCCESS = "success"
3535
FAILURE = "failure"

docker-health-check/uv.lock

Lines changed: 143 additions & 136 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github/commands/git.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from __future__ import annotations
22

33
import logging
4-
from pathlib import Path
54

65
import asyncclick as click
6+
from anyio import Path
77

88
import github
99
from github.commands.common import cli
@@ -16,7 +16,7 @@
1616
@click.argument("signing-key", type=click.Path(exists=True, dir_okay=False))
1717
async def create_jwt(client_id: str, signing_key: str) -> None:
1818
async with github.providers.Application(
19-
client_id=client_id, signing_key=Path(signing_key).read_bytes()
19+
client_id=client_id, signing_key=await Path(signing_key).read_bytes()
2020
) as provider:
2121
print(provider.generate_jwt()) # noqa: T201
2222

@@ -26,7 +26,7 @@ async def create_jwt(client_id: str, signing_key: str) -> None:
2626
@click.argument("signing-key", type=click.Path(exists=True, dir_okay=False))
2727
async def get_app(client_id: str, signing_key: str) -> None:
2828
async with github.providers.Application(
29-
client_id=client_id, signing_key=Path(signing_key).read_bytes()
29+
client_id=client_id, signing_key=await Path(signing_key).read_bytes()
3030
) as provider:
3131
print(await provider.get_app()) # noqa: T201
3232

@@ -39,7 +39,7 @@ async def get_app_install_id(
3939
signing_key: str,
4040
) -> None:
4141
async with github.providers.Application(
42-
client_id=client_id, signing_key=Path(signing_key).read_bytes()
42+
client_id=client_id, signing_key=await Path(signing_key).read_bytes()
4343
) as provider:
4444
async for app_inst in provider.get_app_installations():
4545
print(app_inst) # noqa: T201
@@ -50,7 +50,9 @@ async def get_app_install_id(
5050
@click.argument("signing-key", type=click.Path(exists=True, dir_okay=False))
5151
@click.argument("installation-id", type=str)
5252
async def get_access_token(client_id: str, signing_key: str, installation_id: str) -> None:
53-
async with github.providers.Application(client_id, Path(signing_key).read_bytes(), installation_id) as provider:
53+
async with github.providers.Application(
54+
client_id, await Path(signing_key).read_bytes(), installation_id
55+
) as provider:
5456
print(await provider.access_token()) # noqa: T201
5557

5658

github/uv.lock

Lines changed: 217 additions & 208 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hadoop/uv.lock

Lines changed: 117 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jupyter/uv.lock

Lines changed: 239 additions & 230 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)