From 4f7577036b24b019d459497a0c8136a22cd82a59 Mon Sep 17 00:00:00 2001 From: Erik Grobecker Date: Sat, 21 Dec 2024 12:30:26 +0100 Subject: [PATCH] added a few more checks using pre-commit --- .pre-commit-config.yaml | 9 +++++++++ shell.nix | 1 + 2 files changed, 10 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d29fcf4..0c4ddf0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,3 +3,12 @@ repos: rev: v0.13.0 hooks: - id: markdownlint_docker + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: detect-private-key + - id: end-of-file-fixer + - repo: https://github.com/crate-ci/typos + rev: v1.28.4 + hooks: + - id: typos diff --git a/shell.nix b/shell.nix index 81224b6..0c986d4 100644 --- a/shell.nix +++ b/shell.nix @@ -3,5 +3,6 @@ pkgs.mkShell { packages = with pkgs; [ pre-commit + typos ]; }