diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c2ae80..72f5473 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Set up UV id: setup-uv - uses: astral-sh/setup-uv@e1e6fe791067dce0dec13d733c5477f0f0cf6a5d + uses: astral-sh/setup-uv@208b0c0ee42039b2cbf5fd3ca0ec7d6d8a49336f with: python-version: ${{ matrix.python_version }} @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - name: Install the latest version of uv - uses: astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6 # v6 + uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6 with: python-version: "3.13" activate-environment: true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3804bfc..84a6ce0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -82,7 +82,7 @@ repos: - urllib3==2.5.0 - zipp==3.23.0 ; python_full_version < '3.10' - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.12 + rev: v0.13.1 hooks: - id: ruff args: [--fix, --unsafe-fixes, --show-fixes] @@ -93,7 +93,7 @@ repos: - id: doc8 - repo: https://github.com/adamchainz/django-upgrade - rev: 1.27.0 + rev: 1.28.0 hooks: - id: django-upgrade args: [--target-version, '4.2'] # Replace with Django version @@ -111,6 +111,6 @@ repos: - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.8.15 + rev: 0.8.19 hooks: - id: uv-lock diff --git a/sphinx_github_changelog/credentials.py b/sphinx_github_changelog/credentials.py index a912f65..76077db 100644 --- a/sphinx_github_changelog/credentials.py +++ b/sphinx_github_changelog/credentials.py @@ -48,7 +48,7 @@ def get_token_from_git_credential(host: str = "github.com") -> str | None: text=True, ) for ln in resp.splitlines(): - key, eq, value = ln.partition("=") + key, _eq, value = ln.partition("=") if key == "password" and is_github_token(value): return value return None