Repository navigation
Commit eb1cf35
committed
ci: move lychee's .lycheeignore exclusion into the hook
The "--exclude-path .lycheeignore" arg looked redundant, since lychee
reads the URL patterns from that file on its own. It was not: the arg
also kept the file out of the *inputs*, and pre-commit hands the hook
every changed file - so on a push touching .lycheeignore, lychee read
it as plain text, pulled 26 junk URLs out of the regexes
("https://posteo/" and friends) and failed. The arg is dropped and
the file is excluded through pre-commit's own "exclude" instead.
Prompt: drop the noop-thing from .pre-commit-config.yaml [the
"--exclude-path .lycheeignore" arg, which I had wrongly called a no-op]
Assisted-By: Claude Opus 5 <noreply@anthropic.com>1 parent 4669f33 commit eb1cf35
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments