Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdo
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
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
mpim-sw
cdo
Commits
7955147c
Commit
7955147c
authored
2 months ago
by
Oliver Heidmann
Browse files
Options
Downloads
Patches
Plain Diff
added cmake-format.py
parent
6eca688a
No related branches found
Branches containing commit
No related tags found
1 merge request
!312
CMake Improvements and fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.cmake-format.py
+12
-0
12 additions, 0 deletions
.cmake-format.py
with
12 additions
and
0 deletions
.cmake-format.py
0 → 100644
+
12
−
0
View file @
7955147c
with
section
(
"
format
"
):
# noqa: F821
dangle_parens
=
True
max_lines_hwrap
=
0
keyword_case
=
"
upper
"
autosort
=
True
with
section
(
"
lint
"
):
# noqa: F821
# The formatter sometimes fails to fit the code into the line limit (C0301)
# and can disagree with the linter regarding the indentation (C0307):
disabled_codes
=
[
"
C0301
"
,
"
C0307
"
]
private_var_pattern
=
"
[A-Z][0-9a-zA-Z]+_[0-9A-Z_]+|_[0-9a-z_]
"
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