Skip to content
Open
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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion sphinx_github_changelog/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading