Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 4 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:

# Run the Ruff linter.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
rev: v0.15.5
hooks:
# Linter
- id: ruff
Expand All @@ -38,7 +38,7 @@ repos:
- id: ruff-format

- repo: https://github.com/kynan/nbstripout
rev: 0.8.2
rev: 0.9.1
hooks:
- id: nbstripout

Expand Down
227 changes: 117 additions & 110 deletions 227 dask-test/uv.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions 8 docker-health-check/docker_health_check/enums.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from enum import Enum, EnumMeta
from enum import Enum, EnumMeta, StrEnum
from typing import TYPE_CHECKING, Any, cast

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


class ContainerStatus(str, Enum, metaclass=_CaseInsensitiveEnumMeta):
class ContainerStatus(StrEnum, metaclass=_CaseInsensitiveEnumMeta):
EXITED = "exited"
PAUSED = "paused"
RUNNING = "running"
RESTARTING = "restarting"


class HealthCheck(str, Enum, metaclass=_CaseInsensitiveEnumMeta):
class HealthCheck(StrEnum, metaclass=_CaseInsensitiveEnumMeta):
UNKNOWN = "unknown"
HEALTHY = "healthy"
UNHEALTHY = "unhealthy"


class RestartStatus(str, Enum, metaclass=_CaseInsensitiveEnumMeta):
class RestartStatus(StrEnum, metaclass=_CaseInsensitiveEnumMeta):
SUCCESS = "success"
FAILURE = "failure"
279 changes: 143 additions & 136 deletions 279 docker-health-check/uv.lock

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions 12 github/github/commands/git.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from __future__ import annotations

import logging
from pathlib import Path

import asyncclick as click
from anyio import Path

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

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

Expand All @@ -39,7 +39,7 @@ async def get_app_install_id(
signing_key: str,
) -> None:
async with github.providers.Application(
client_id=client_id, signing_key=Path(signing_key).read_bytes()
client_id=client_id, signing_key=await Path(signing_key).read_bytes()
) as provider:
async for app_inst in provider.get_app_installations():
print(app_inst) # noqa: T201
Expand All @@ -50,7 +50,9 @@ async def get_app_install_id(
@click.argument("signing-key", type=click.Path(exists=True, dir_okay=False))
@click.argument("installation-id", type=str)
async def get_access_token(client_id: str, signing_key: str, installation_id: str) -> None:
async with github.providers.Application(client_id, Path(signing_key).read_bytes(), installation_id) as provider:
async with github.providers.Application(
client_id, await Path(signing_key).read_bytes(), installation_id
) as provider:
print(await provider.access_token()) # noqa: T201


Expand Down
425 changes: 217 additions & 208 deletions 425 github/uv.lock

Large diffs are not rendered by default.

227 changes: 117 additions & 110 deletions 227 hadoop/uv.lock

Large diffs are not rendered by default.

469 changes: 239 additions & 230 deletions 469 jupyter/uv.lock

Large diffs are not rendered by default.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.