Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Use standard lychee pre-commit hook with v0.22.0 (#100)
Maximilian Roos3356825ec615
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 787087fbc..7820f68b3 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -26,27 +26,24 @@ repos:hooks:- id: clippyargs: ["--all-targets", "--", "-D", "warnings"]- # Local hook with pinned version - lychee's script hook uses system install if present- - repo: local+ - repo: https://github.com/lycheeverse/lychee+ rev: lychee-v0.22.0hooks:# Fast PR mode - only check worktrunk domains (internal links validated by zola check)- id: lycheename: lychee (PR mode)- language: rust- entry: lychee --no-progress --config=.config/lychee.toml --include=^https://(github\.com/max-sixty/worktrunk|worktrunk\.dev)types: [markdown]- require_serial: true- additional_dependencies: ["cli:lychee:0.22.0"]+ args:+ - --config=.config/lychee.toml+ - --include=^https://(github\.com/max-sixty/worktrunk|worktrunk\.dev)# Comprehensive mode - check all links with full config# Run manually: pre-commit run --hook-stage manual lychee-all --all-files- - id: lychee-all+ - id: lycheename: lychee-all (comprehensive)- language: rust- entry: lychee --no-progress --config=.config/lychee.tomltypes: [markdown]stages: [manual]- require_serial: true- additional_dependencies: ["cli:lychee:0.22.0"]+ args:+ - --config=.config/lychee.toml- repo: localhooks:- id: no-dbg@@ -67,5 +64,5 @@ repos:ci:# pre-commit.ci doesn't have Rust toolchain, so skip Rust-specific hooks.# Network access also isn't supported, so skip lychee.- skip: [fmt, clippy, lychee, lychee-all]+ skip: [fmt, clippy, lychee]autoupdate_commit_msg: "chore: pre-commit autoupdate"