Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coyote
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nils
coyote
Commits
e09baaa3
Commit
e09baaa3
authored
5 months ago
by
Siddhant Tibrewal
Committed by
Nils-Arne Dreier
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
added clang format to pre-commit-hook
parent
9c37ff10
No related branches found
No related tags found
1 merge request
!15
Static code analysis
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-config.yaml
+6
-1
6 additions, 1 deletion
.pre-commit-config.yaml
README.md
+6
-0
6 additions, 0 deletions
README.md
with
12 additions
and
1 deletion
.pre-commit-config.yaml
+
6
−
1
View file @
e09baaa3
...
...
@@ -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
This diff is collapsed.
Click to expand it.
README.md
+
6
−
0
View file @
e09baaa3
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment