From 701b96704bdaafd2395f1e7692a3eef052edce0a Mon Sep 17 00:00:00 2001 From: John Bampton Date: Wed, 10 Jun 2026 02:48:03 +1000 Subject: [PATCH] pre-commit configure end of file fixer more file types --- .pre-commit-config.yaml | 2 +- UBUNTU.md | 1 - config/secretary-workbench.md | 1 - www/test/dataflow-schema.json | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c8dca6ac7d..40f8d92810 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: check-yaml - id: detect-private-key - id: end-of-file-fixer - files: \.(cgi|rb|ya?ml|py)$ + files: \.(cgi|json|md|plist|py|rb|rdf|service|sh|template|ya?ml)$ - id: fix-byte-order-marker - id: forbid-submodules - id: mixed-line-ending diff --git a/UBUNTU.md b/UBUNTU.md index acce5531ea..e133a1fcf7 100644 --- a/UBUNTU.md +++ b/UBUNTU.md @@ -54,4 +54,3 @@ like the following: sudo systemctl restart apache2 Visit [http://whimsy.local/](http://whimsy.local/) - diff --git a/config/secretary-workbench.md b/config/secretary-workbench.md index faca9adcac..699cf7e1d2 100644 --- a/config/secretary-workbench.md +++ b/config/secretary-workbench.md @@ -25,4 +25,3 @@ Install pdftk ------------- Download from [pdflabs](https://www.pdflabs.com/tools/pdftk-server/). - diff --git a/www/test/dataflow-schema.json b/www/test/dataflow-schema.json index 826bc7f8d8..5a778f2a02 100644 --- a/www/test/dataflow-schema.json +++ b/www/test/dataflow-schema.json @@ -44,4 +44,4 @@ "datafile" ], "type": "object" -} \ No newline at end of file +}