From fb9e1f5dd403c6e6708562c147dee0490b00fa91 Mon Sep 17 00:00:00 2001 From: Abdulaziz Aloqeely <52792999+Aloqeely@users.noreply.github.com> Date: Thu, 27 Jun 2024 05:39:02 +0300 Subject: [PATCH] CI: Modify the trailing-whitespace hook to preserve markdown hard linebreaks --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c32f727213152..2d5cd9e841df3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -67,6 +67,7 @@ repos: - id: fix-encoding-pragma args: [--remove] - id: trailing-whitespace + args: [--markdown-linebreak-ext=md] - repo: https://github.com/PyCQA/isort rev: 5.13.2 hooks: