From 67e5126f6ae63e972a11ba8a9c0e61aa73738352 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Oct 2025 14:14:36 +0800 Subject: [PATCH] :arrow_up: Bump astral-sh/setup-uv from 6 to 7 in /.github/actions/setup-python in the actions group (#3710) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> --- .github/actions/setup-python/action.yml | 2 +- nonebot/typing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-python/action.yml b/.github/actions/setup-python/action.yml index 880669c2..568802b7 100644 --- a/.github/actions/setup-python/action.yml +++ b/.github/actions/setup-python/action.yml @@ -14,7 +14,7 @@ inputs: runs: using: "composite" steps: - - uses: astral-sh/setup-uv@v6 + - uses: astral-sh/setup-uv@v7 with: python-version: ${{ inputs.python-version }} cache-suffix: ${{ inputs.env-group }} diff --git a/nonebot/typing.py b/nonebot/typing.py index 534af1f1..e1985b4c 100644 --- a/nonebot/typing.py +++ b/nonebot/typing.py @@ -89,7 +89,7 @@ def origin_is_annotated(origin: t.Optional[type[t.Any]]) -> bool: return origin is t_ext.Annotated -NONE_TYPES = {None, type(None), t.Literal[None], t_ext.Literal[None]} +NONE_TYPES = {None, type(None), t.Literal[None], t_ext.Literal[None]} # noqa: PYI061 if sys.version_info >= (3, 10): NONE_TYPES.add(types.NoneType)