From e8c79ca89a56fc23a761da5abe374157c7e0b96b Mon Sep 17 00:00:00 2001 From: Jonathan Willitts Date: Mon, 18 Nov 2024 16:24:59 +0000 Subject: [PATCH] pre-commit: add `end-of-file-fixer` hook, and run on all files --- .pre-commit-config.yaml | 1 + AUTHORS | 2 +- .../edc_qareports/columns/subject_identifier_column.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c4ac7ed..bace820 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,6 +38,7 @@ repos: - id: check-yaml - id: debug-statements - id: detect-private-key + - id: end-of-file-fixer - id: fix-byte-order-marker - id: requirements-txt-fixer files: requirements/.*\.txt$ diff --git a/AUTHORS b/AUTHORS index 3bc0afa..eb5e7d3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1 @@ -Erik van Widenfelt \ No newline at end of file +Erik van Widenfelt diff --git a/edc_qareports/templates/edc_qareports/columns/subject_identifier_column.html b/edc_qareports/templates/edc_qareports/columns/subject_identifier_column.html index b8ecdfb..6369f32 100644 --- a/edc_qareports/templates/edc_qareports/columns/subject_identifier_column.html +++ b/edc_qareports/templates/edc_qareports/columns/subject_identifier_column.html @@ -1 +1 @@ -{{ label|default:subject_identifier }} \ No newline at end of file +{{ label|default:subject_identifier }}