Skip to content

Commit 446ec0a

Browse files
committed
feat: added --no-progress default arg to pre-commit hook
1 parent c4cdfc4 commit 446ec0a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-hooks.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
description: "Run 'lychee' for fast, async, stream-based link checking"
44
entry: lychee
55
language: system
6+
args: ["--no-progress"]
67
types: [text]
78
pass_filenames: true
89
require_serial: true
@@ -11,6 +12,7 @@
1112
description: "Run 'lychee' docker image for fast, async, stream-based link checking"
1213
entry: lycheeverse/lychee:0.14
1314
language: docker_image
15+
args: ["--no-progress"]
1416
types: [text]
1517
pass_filenames: true
1618
require_serial: true

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -562,14 +562,14 @@ repos:
562562
rev: 0.14.3
563563
hooks:
564564
- id: lychee
565-
# Optionally include additional CLI arguments
566-
args: ["--exclude", "file://"]
565+
# Optionally include additional CLI arguments
566+
args: ["--no-progress", "--exclude", "file://"]
567567
```
568568
569569
Rather than running on staged-files only, Lychee can be run against an entire repository.
570570
```yaml
571571
- id: lychee
572-
args: ["."]
572+
args: ["--no-progress", "."]
573573
pass_filenames: false
574574
```
575575

0 commit comments

Comments
 (0)