From 50c1eef37dca8c7deeef47e7482c6a0c594ac1f6 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Fri, 27 Feb 2026 12:53:55 +0000 Subject: [PATCH] chore: remove pre-commit config and tool dependency Pre-commit is no longer used in the project; linting is handled by hk and mise tasks. Remove .pre-commit-config.yaml and the pre-commit tool from mise.toml. Co-Authored-By: Claude Opus 4.6 --- .pre-commit-config.yaml | 27 --------------------------- mise.toml | 1 - 2 files changed, 28 deletions(-) delete mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 4a7038e022..0000000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# See https://pre-commit.com for more information -# See https://pre-commit.com/hooks.html for more hooks -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 - hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - exclude: "^.idea/" - - id: check-yaml - - id: check-toml - - id: check-json - - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.10.0.1 - hooks: - - id: shellcheck - exclude: "^completions/" # TODO: remove after usage is released again - - repo: https://github.com/rhysd/actionlint - rev: v1.7.4 - hooks: - - id: actionlint - args: ["-shellcheck", ""] - - repo: https://github.com/kykosic/pre-commit-rust - rev: 0.4.0 - hooks: - - id: cargo-fmt - - id: cargo-check diff --git a/mise.toml b/mise.toml index dbd363bfb7..f425eac856 100644 --- a/mise.toml +++ b/mise.toml @@ -26,7 +26,6 @@ stylua = "latest" "npm:prettier" = "3" "npm:ajv-cli" = "latest" pkl = "latest" -pre-commit = "latest" #"python" = { version = "latest", virtualenv = "{{env.HOME}}/.cache/venv" } "ripgrep" = "latest" "shellcheck" = "latest"