From ff71461c6d24113c0e4a56fdeaa0fd982a1e83cf Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 18 Feb 2025 17:00:42 +0000 Subject: [PATCH] Add pre-commit static checks --- mise.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mise.toml b/mise.toml index a87c5cdc..8dd9e70f 100644 --- a/mise.toml +++ b/mise.toml @@ -39,3 +39,7 @@ run = ['mix hex.outdated --all'] [tasks.prod-console] description = 'Open an ssh console to the production env' run = 'fly ssh console' + +[tasks.static-checks] +description = 'Run static checks for code formatting, translations, quality' +run = 'mix do format, credo, gettext.extract'