Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
strategy:
fail-fast: false
matrix:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand All @@ -26,23 +26,23 @@ jobs:
- name: Build package
run: uv build --python 3.14 --python-preference only-managed --sdist --wheel . --out-dir dist
- name: Store the distribution packages
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ env.dists-artifact-name }}
path: dist/*

release:
needs:
- build
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment:
name: release
url: https://pypi.org/project/pre-commit-uv/${{ github.ref_name }}
permissions:
id-token: write
steps:
- name: Download all the dists
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: ${{ env.dists-artifact-name }}
path: dist/
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.16.9"
rev: "v0.16.10"
hooks:
- id: ruff-format
- id: ruff
Expand Down
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
build-backend = "hatchling.build"
requires = [
"hatch-vcs>=0.5",
"hatchling>=1.28",
"hatchling>=1.32.4",
]

[project]
Expand Down Expand Up @@ -34,8 +34,8 @@ dynamic = [
"version",
]
dependencies = [
"pre-commit>=4.3",
"uv>=0.9.1",
"pre-commit>=4.6.2",
"uv>=0.12.22",
]
urls."Bug Tracker" = "https://github.com/tox-dev/pre-commit-uv/issues"
urls."Source Code" = "https://github.com/tox-dev/pre-commit-uv"
Expand All @@ -51,21 +51,21 @@ dev = [
]
test = [
"covdefaults>=2.3",
"pytest>=8.4.2",
"pytest-cov>=7",
"pytest-mock>=3.15.1",
"pytest>=9.1.1",
"pytest-cov>=7.1",
"pytest-mock>=3.16",
]
type = [
"ty>=0.0.17",
"ty>=0.0.84",
{ include-group = "test" },
]
lint = [
"pre-commit-uv>=4.2",
]
pkg-meta = [
"check-wheel-contents>=0.6.3",
"twine>=6.2",
"uv>=0.10.2",
"twine>=7",
"uv>=0.12.22",
]

[tool.hatch]
Expand Down
2 changes: 1 addition & 1 deletion tox.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
requires = [ "tox>=4.34.1", "tox-uv>=1.29" ]
requires = [ "tox>=4.64.7", "tox-uv>=1.36.1" ]
env_list = [ "3.15", "3.14", "3.13", "3.12", "3.11", "3.10", "3.9", "3.8", "3.15t", "fix", "pkg_meta", "type" ]
skip_missing_interpreters = true

Expand Down