⬆️ 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>
This commit is contained in:
dependabot[bot]
2025-10-08 14:14:36 +08:00
committed by GitHub
parent 0212247694
commit 67e5126f6a
2 changed files with 2 additions and 2 deletions

View File

@@ -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 }}

View File

@@ -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)