Skip to content
Snippets Groups Projects
Commit e09baaa3 authored by Siddhant Tibrewal's avatar Siddhant Tibrewal Committed by Nils-Arne Dreier
Browse files

added clang format to pre-commit-hook

parent 9c37ff10
No related branches found
No related tags found
1 merge request!15Static code analysis
......@@ -6,4 +6,9 @@ repos:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
\ No newline at end of file
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.4
hooks:
- id: clang-format
\ No newline at end of file
......@@ -28,3 +28,9 @@ export PKG_CONFIG_PATH=$(pwd -P)/venv/lib/pkgconfig
export MPI_ROOT=/sw/spack-levante/openmpi-4.1.2-mnmady
python -m pip install git+https://gitlab.dkrz.de/nils/coyote.git
```
## Contributing
* Ensure the use of .clang-format and ruff configurations provided in your dev-env
* Try to write atleast 1 test per feature developed
* Ensure that the MR and Issues are created using appropriate templates
\ No newline at end of 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