mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-07 07:55:13 +02:00
ci: stop tombi reformatting uv.lock and sync lock to 0.7.0 (#235)
The pre-commit job failed because tombi-format reformats uv.lock to a layout uv does not produce, so once CI's uv sync re-resolved the stale lock (workspace members still at 0.6.0) and rewrote it, tombi rewrote it back and the hook reported a modified file. Exclude uv.lock from tombi-format so uv stays authoritative for its generated lockfile, and bump the workspace members to 0.7.0 so the lock is current and uv stops re-resolving it (uv lock --check now passes).
This commit is contained in:
parent
0a517b2c13
commit
8ebc4ce107
2 changed files with 8 additions and 2 deletions
|
|
@ -19,6 +19,12 @@ repos:
|
|||
hooks:
|
||||
- id: tombi-format
|
||||
args: ["--offline"]
|
||||
# uv.lock is generated and owned by uv, which writes its own canonical
|
||||
# TOML layout. tombi reformats that layout differently, so once uv
|
||||
# regenerates the lock (e.g. after a dependency or version change)
|
||||
# tombi rewrites it and the hook fails on the modified file. Keep uv
|
||||
# authoritative for its lockfile; tombi still formats hand-edited TOML.
|
||||
exclude: ^uv\.lock$
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.21.2
|
||||
|
|
|
|||
4
uv.lock
generated
4
uv.lock
generated
|
|
@ -466,7 +466,7 @@ wheels = [
|
|||
|
||||
[[package]]
|
||||
name = "ktx-daemon"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
source = { editable = "python/ktx-daemon" }
|
||||
dependencies = [
|
||||
{ name = "fastapi" },
|
||||
|
|
@ -523,7 +523,7 @@ dev = [
|
|||
|
||||
[[package]]
|
||||
name = "ktx-sl"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
source = { editable = "python/ktx-sl" }
|
||||
dependencies = [
|
||||
{ name = "pydantic" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue