Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • ag-ohlberger/dune-community/vcsetup
1 result
Show changes
Commits on Source (3)
......@@ -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.
......
[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
......@@ -20,7 +20,7 @@ repos:
- id: clang-format
exclude: "^(dune/xt/test/gtest/|pybind11)"
- repo: https://github.com/pre-commit/mirrors-yapf
rev: 'v0.25.0'
rev: 'v0.32.0'
hooks:
- id: yapf
args: ["--style=.vcsetup/.style.yapf"]
......