Skip to content

Commit 42082a8

Browse files
authored
CI: Modify the trailing-whitespace hook to preserve markdown hard linebreaks (#59117)
1 parent 195401f commit 42082a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ repos:
6767
- id: fix-encoding-pragma
6868
args: [--remove]
6969
- id: trailing-whitespace
70+
args: [--markdown-linebreak-ext=md]
7071
- repo: https://github.com/PyCQA/isort
7172
rev: 5.13.2
7273
hooks:

0 commit comments

Comments
 (0)