pre-commit check .cfg files with the trailing whitespace hook (#10151)

https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace

This hook auto trims trailing whitespace
This commit is contained in:
John Bampton 2025-01-03 18:39:16 +10:00 committed by GitHub
parent fd24509ba7
commit 2b070880c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 496 additions and 496 deletions

View File

@ -59,7 +59,7 @@ repos:
- id: mixed-line-ending
exclude: \.(cs|xml)$
- id: trailing-whitespace
files: \.(cs|bat|css|gitignore|header|in|install|java|md|properties|py|rb|sh|sql|txt|vue|xml|xsl|yaml|yml)$
files: \.(bat|cfg|cs|css|gitignore|header|in|install|java|md|properties|py|rb|sh|sql|txt|vue|xml|xsl|yaml|yml)$
args: [--markdown-linebreak-ext=md]
exclude: ^services/console-proxy/rdpconsole/src/test/doc/freerdp-debug-log\.txt$
- repo: https://github.com/codespell-project/codespell