Skip to content

Commit

Permalink
Add clang-format pre-commit hook (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisH authored Jun 20, 2024
1 parent 74fb301 commit e379848
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ repos:
- id: format-precice-config
- id: check-image-prefix
args: [ --prefix=docs-adapter-openfoam- ]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v11.1.0'
hooks:
- id: clang-format
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.30.0
hooks:
Expand Down
1 change: 1 addition & 0 deletions changelog-entries/331.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added clang-format to the pre-commit hook [#331](https://github.com/precice/openfoam-adapter/pull/331).

0 comments on commit e379848

Please sign in to comment.