From 8733f1a6395cc93615a1558c83685b6c28dc671a Mon Sep 17 00:00:00 2001 From: Marco Kessler Date: Fri, 24 Nov 2023 14:52:26 +0100 Subject: [PATCH] Fix hook to run only on files ending with .mo --- .pre-commit-hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index a0e4cbb..618e90e 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,4 +3,4 @@ description: Make your Modelica code pretty entry: mofmt language: python - files: '.*\.mo' \ No newline at end of file + files: '.*\.mo$' \ No newline at end of file