From 0803361a2a4371c4cfd8865e6adc74e5b238b41e Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 7 Oct 2025 01:06:10 +0300 Subject: [PATCH] Move hooks definition to README --- README.md | 4 ++++ mise.toml | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 20c729cb..af19cdf4 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,10 @@ The project is managed and configured via [mise-en-place](https://mise.jdx.dev): > set of credentials. See the `env` section in `mise.toml` for the required > environment variables. +It's recommended to use the git hooks included in the project. Install with: + +`mise generate git-pre-commit --write --task=dev:precommit` + ## Environment configuration The application requires the following environment variables: diff --git a/mise.toml b/mise.toml index 1b6c8143..fe7795eb 100644 --- a/mise.toml +++ b/mise.toml @@ -43,17 +43,6 @@ run = """ hurl --test --progress-bar scripts/deploy.hurl """ -# GIT TOOLING - -[tasks.static-checks-hook] -description = ''' -Pre-commit task to ensure code conforms to static checks policies. - -Install with `mise generate git-pre-commit --write --task=dev:precommit` -''' -run = 'mix do format --check-formatted, credo --strict, gettext.extract --check-up-to-date' -hide = true - # DEVELOPMENT/TEST [tasks.test]