diff --git a/.github/scripts/black_to_github_annotations.py b/.github/scripts/black_to_github_annotations.py index 074eedf6b7..aebf8526dd 100644 --- a/.github/scripts/black_to_github_annotations.py +++ b/.github/scripts/black_to_github_annotations.py @@ -1,3 +1,9 @@ +# /// script +# dependencies = [ +# "github-action-utils", +# ] +# /// + from __future__ import annotations import json diff --git a/.github/workflows/ci-lint.yaml b/.github/workflows/ci-lint.yaml index 78007691d5..166e662c0f 100644 --- a/.github/workflows/ci-lint.yaml +++ b/.github/workflows/ci-lint.yaml @@ -51,8 +51,7 @@ jobs: id: black-annotations run: | uv tool install black-codeclimate - pip install github_action_utils - black --diff --check . | black-codeclimate | python .github/scripts/black_to_github_annotations.py + black --diff --check . | black-codeclimate | uv run .github/scripts/black_to_github_annotations.py continue-on-error: true - name: ty check (venv setup)