Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Nektar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Castiglioni
Nektar
Commits
7cc4b17c
Commit
7cc4b17c
authored
2 years ago
by
Thibault Lestang
Browse files
Options
Downloads
Patches
Plain Diff
Update contributing guidelines following reformatting
parent
2e6cbd65
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CONTRIBUTING.md
+2
-7
2 additions, 7 deletions
CONTRIBUTING.md
with
2 additions
and
7 deletions
CONTRIBUTING.md
+
2
−
7
View file @
7cc4b17c
...
...
@@ -67,11 +67,6 @@ project. It's a pretty simple process:
to keep test files as small as possible. If so you'll need to rebase or
filter-branch to remove those from the commit history.
-
Is the code formatted correctly?
-
**Note:**
unfortunately, Nektar++ has pretty inconsistent code formatting at
the moment. To help in reviewing your submission, new files should be
formatted according to the guidelines (or use
`clang-format`
as described
below) -- otherwise, try to keep formatting consistent with the file you're
working on.
## Git cheatsheet
Although Gitlab gives a nice interface to view the diff between a branch and
...
...
@@ -288,8 +283,8 @@ changes are required before merging.
Code formatting is reasonably boring, so Nektar++ comes with a
`.clang-format`
file to allow for automatic code formatting.
Installing it is straightforward on most package managers. Nektar++
relies on
options that are used in version 11 or later
.
Installing it is straightforward on most package managers. Nektar++
's
source code is formatted using
**clang-format 11**
.
There are a number of instructions on how to use
`clang-format`
inside a number
of text editors on the
...
...
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