Commit b34b616
ci: upgrade lychee to v0.24.1 and fix broken link checks
lychee v0.24.1 was used on my laptop, and it has changed behavior:
placeholder URLs like scheme://hostname:port now raise a hard parse error
instead of being silently rewritten to file:// (which the old ignore pattern
relied on). The 30-day cache had been masking this and other pre-existing
failures.
- Bump pre-commit lychee rev from v0.22.0 to v0.24.1
- Replace scheme://hostname:port placeholder URLs with concrete examples
(http://proxy.example.com:8080) in both davclient.py and async_davclient.py
- Update .lycheeignore:
- Widen example.com pattern to cover ports
- Add domain/*, credentialed localhost, oxhost2 Docker hostname
- Add Google API, fsf.org, oxpedia.org, httpd.apache.org, sphinx URL template
- Remove stale comment about file:// rewriting (gone in 0.24.1)
AI-generated change (I'm not very clever at maintaining the CI infrastructure)
prompt: `git push -f github` fails on the lychee hook in the pre-commit setup. How do I run the test? Why is it breaking just now, I can't see any recent changes causing this to break?
followup-prompt: (responding to a hallucination that the problem was added in the async code monts ago) a55f9bb was added in january. Why does this break only now? I want symmetry, so the same fix should be applied to both files. I also don't understand why the existing line in .lycheeignore works for the sync davclient but not for async_davclient
followup-prompt: Also update pre-commit config to use 0.24.1.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9ef5e9f commit b34b616
4 files changed
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
27 | 46 | | |
28 | | - | |
29 | 47 | | |
30 | 48 | | |
31 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments