Refactoring: Moved check parameters from unsorted.py to dedicated modules (CMK-1393)
[check_mk.git] / .style.yapf
blobdd07bde800a055497770c4f81fa428917b939715
1 [style]
2 based_on_style=google
3 blank_line_before_nested_class_or_def=False
4 column_limit=100
5 indent_dictionary_value=True
7 # Dictionary values sometimes exced the line length limit and are thus
8 # placed in a new line. But at the same time all dictionary elements follow
9 # this format to guard uniformity. This is inconvenient since we trade
10 # convenience at readtime(because short length values still appear in new
11 # lines) for format uniformity. Therefore we enforce dictionary values to
12 # remain on same line.
13 allow_split_before_dict_value=False
15 # We do not use i18n comments. Therefore we allow yapf to also format these things.
16 # Most declarations e.g. in cmk/gui/plugins/wato/active_checks.py are only reformatted
17 # with this change.
18 i18n_comment=
19 i18n_function_call=