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

Add pre-commit hook for C code

parent 8b860c87
No related branches found
No related tags found
1 merge request!61Add pre-commit hooks
......@@ -4,6 +4,12 @@
#
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.6
hooks:
- id: clang-format
# Exclude the automatically generated file:
exclude: ^src/mtime_iso8601\.c$
- repo: https://github.com/fortran-lang/fprettify
# We have to use the untagged version because there are no releases that
# support the case argument in the .fprettify.rc configuration file
......
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