Skip to content
Snippets Groups Projects
Commit 8185c050 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

pre-commit: check for file ends and trailing whitespaces

parent 26c20d99
No related branches found
No related tags found
1 merge request!62Extend pre-commit hooks
Pipeline #93500 passed
......@@ -4,6 +4,13 @@
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
exclude: '^(contrib|m4)/.*'
- id: trailing-whitespace
exclude: '^((LICENSES|contrib)/.*|src/mtime_iso8601\.c$)'
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.6
hooks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment