From 7aa434de8b5afca6f5e1fcc054e127ab9a07d4f6 Mon Sep 17 00:00:00 2001 From: Erik Grobecker Date: Mon, 14 Oct 2024 19:53:18 +0200 Subject: [PATCH] added pre-commit added pre-commit checking for link validity at the moment --- .pre-commit-config.yaml | 7 +++++++ lychee.toml | 1 + programs.md | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml create mode 100644 lychee.toml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..8fbb2b9 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: + - repo: https://github.com/lycheeverse/lychee.git # as seen in https://github.com/lycheeverse/lychee?tab=readme-ov-file#pre-commit-usage + rev: v0.15.1 + hooks: + - id: lychee + # Optionally include additional CLI arguments + args: ["--no-progress" ,".",] \ No newline at end of file diff --git a/lychee.toml b/lychee.toml new file mode 100644 index 0000000..201df39 --- /dev/null +++ b/lychee.toml @@ -0,0 +1 @@ +exclude = ['midnight-lizard\.org'] diff --git a/programs.md b/programs.md index 5dc695c..e7f24a2 100644 --- a/programs.md +++ b/programs.md @@ -6,7 +6,7 @@ ## CLI -- [just](https://just.systems/) Makefiles but for everyone +- [just](https://just.systems/) → Makefiles but for everyone ## Websites