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
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ repos:
name: Format TOML files
entry: tombi format
language: system
exclude: ^uv(-.*)?\.lock$ # uv's lockfile is owned by uv, not tombi
types: [toml]
priority: 0
- id: yamlfmt
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,12 @@ all: tests

# Regenerate both lockfiles: uv.lock (latest deps) and uv-oldest.lock
# (a lowest-direct resolution used by the oldest-supported-deps CI job).
# uv's lockfile indentation differs between versions; normalize both with tombi
# so the result matches the prek `tombi` hook and the locks stay reproducible
# regardless of which uv version generated them.
# uv's lockfile indentation differs between versions
.PHONY: lock
lock:
@uv lock --resolution lowest-direct
@cp uv.lock uv-oldest.lock
@uv lock
@tombi format uv.lock uv-oldest.lock

# Sync the development environment. The ty hook and the test suite run against
# this .venv, so linting and testing targets depend on it.
Expand Down
Loading
Loading