Skip to content

Commit cc1f074

Browse files
committed
exclude .txt and .rst from removal of white space
1 parent 9c1fae1 commit cc1f074

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ repos:
66
hooks:
77
- id: check-yaml
88
- id: end-of-file-fixer
9+
exclude: '\.(rst|txt)$'
910
- id: trailing-whitespace
11+
exclude: '\.(rst|txt)$'
1012
- repo: https://github.com/ambv/black
1113
rev: 23.3.0
1214
hooks:

0 commit comments

Comments
 (0)