Skip to content
Snippets Groups Projects
Commit a38b9084 authored by Jan Thiedau's avatar Jan Thiedau Committed by Lars Bilke
Browse files

Added link to clang-format pre commit hook to doku page

parent 3e75ccc2
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,8 @@ Use [`clang-format`](https://clang.llvm.org/docs/ClangFormat.html). Can be added ...@@ -21,6 +21,8 @@ Use [`clang-format`](https://clang.llvm.org/docs/ClangFormat.html). Can be added
Current style is defined in [.clang-format](https://gitlab.opengeosys.org/ogs/ogs/-/blob/master/.clang-format). Current style is defined in [.clang-format](https://gitlab.opengeosys.org/ogs/ogs/-/blob/master/.clang-format).
A pre-commit hook for git checking the code formatting can be found [here](https://gitlab.opengeosys.org/ogs/ogs-utils/-/tree/master/dev/code-formatting/clang-format-pre-commit-hook).
## Python ## Python
Use [`black`](https://black.readthedocs.io/en/stable/). Can be added to be automatically run on save in your editor / IDE: Use [`black`](https://black.readthedocs.io/en/stable/). Can be added to be automatically run on save in your editor / IDE:
......
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