Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vcsetup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
ag-ohlberger
dune-community
vcsetup
Compare revisions
bf7464ea63b5974cccb49002a3cdb527fb4eb2f2 to c7c3aa6d0e4672eea9a725e687e224ad60ae1a8f
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
ag-ohlberger/dune-community/vcsetup
Select target project
No results found
c7c3aa6d0e4672eea9a725e687e224ad60ae1a8f
Select Git revision
Branches
master
Swap
Target
ag-ohlberger/dune-community/vcsetup
Select target project
ag-ohlberger/dune-community/vcsetup
1 result
bf7464ea63b5974cccb49002a3cdb527fb4eb2f2
Select Git revision
Branches
master
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
suppress flake 8 warnings
· a2110a8c
René Fritze
authored
2 years ago
a2110a8c
[yapf] update config
· 5973eb8a
Dr. Felix Tobias Schindler
authored
2 years ago
5973eb8a
[pre-commit] use yapf==0.32
· c7c3aa6d
Dr. Felix Tobias Schindler
authored
2 years ago
c7c3aa6d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.cmake_format.py
+6
-6
6 additions, 6 deletions
.cmake_format.py
.style.yapf
+12
-5
12 additions, 5 deletions
.style.yapf
pre-commit-config.yaml
+1
-1
1 addition, 1 deletion
pre-commit-config.yaml
with
19 additions
and
12 deletions
.cmake_format.py
View file @
c7c3aa6d
...
...
@@ -14,7 +14,7 @@
# ----------------------------------
# Options affecting listfile parsing
# ----------------------------------
with
section
(
"
parse
"
):
with
section
(
"
parse
"
):
# noqa: F821
# Specify structure for custom cmake functions
additional_commands
=
{
...
...
@@ -36,7 +36,7 @@ with section("parse"):
# -----------------------------
# Options affecting formatting.
# -----------------------------
with
section
(
"
format
"
):
with
section
(
"
format
"
):
# noqa: F821
# Disable formatting entirely, making cmake-format a no-op
disable
=
False
...
...
@@ -134,7 +134,7 @@ with section("format"):
# ------------------------------------------------
# Options affecting comment reflow and formatting.
# ------------------------------------------------
with
section
(
"
markup
"
):
with
section
(
"
markup
"
):
# noqa: F821
# What character to use for bulleted lists
bullet_char
=
"
*
"
...
...
@@ -178,7 +178,7 @@ with section("markup"):
# ----------------------------
# Options affecting the linter
# ----------------------------
with
section
(
"
lint
"
):
with
section
(
"
lint
"
):
# noqa: F821
# a list of lint codes to disable
# These codes checks for proper documentation. We should really do this, but disabling this for now.
...
...
@@ -236,7 +236,7 @@ with section("lint"):
# -------------------------------
# Options affecting file encoding
# -------------------------------
with
section
(
"
encode
"
):
with
section
(
"
encode
"
):
# noqa: F821
# If true, emit the unicode byte-order mark (BOM) at the start of the file
emit_byteorder_mark
=
False
...
...
@@ -251,7 +251,7 @@ with section("encode"):
# -------------------------------------
# Miscellaneous configurations options.
# -------------------------------------
with
section
(
"
misc
"
):
with
section
(
"
misc
"
):
# noqa: F821
# A dictionary containing any per-command configuration overrides. Currently
# only `command_case` is supported.
...
...
This diff is collapsed.
Click to expand it.
.style.yapf
View file @
c7c3aa6d
[style]
# https://github.com/google/yapf#knobs
based_on_style = google
spaces_before_comment = 5
split_before_logical_operator = True
allow_multiline_lambdas = True
arithmetic_precedence_indication = True
based_on_style = pep8
blank_line_before_nested_class_or_def = True
blank_lines_around_top_level_definition = 2
blank_lines_between_top_level_imports_and_variables = 1
coalesce_brackets = True
column_limit = 119
no_spaces_around_selected_binary_operators = True
each_dict_entry_on_separate_line = True
indent_dictionary_value = True
join_multiple_lines = false
spaces_before_comment = 2
split_before_dot = True
join_multiple_lines
= True
split_complex_comprehension
= True
This diff is collapsed.
Click to expand it.
pre-commit-config.yaml
View file @
c7c3aa6d
...
...
@@ -20,7 +20,7 @@ repos:
-
id
:
clang-format
exclude
:
"
^(dune/xt/test/gtest/|pybind11)"
-
repo
:
https://github.com/pre-commit/mirrors-yapf
rev
:
'
v0.2
5
.0'
rev
:
'
v0.
3
2.0'
hooks
:
-
id
:
yapf
args
:
[
"
--style=.vcsetup/.style.yapf"
]
...
...
This diff is collapsed.
Click to expand it.