Module: check_mk
Branch: master
Commit: 5a7b78e472d1d2e3ee79254c2c7df179d0da1118
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5a7b78e472d1d2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 7 12:18:47 2018 +0100
Fixed yapf formatting of function calls with _() function calls as arguments
Change-Id: I700d90865f695a771446eb638ac32725635030cd
---
.style.yapf | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.style.yapf b/.style.yapf
index 1584e60..2bde9f5 100644
--- a/.style.yapf
+++ b/.style.yapf
@@ -3,3 +3,9 @@ based_on_style=google
blank_line_before_nested_class_or_def=False
column_limit=100
indent_dictionary_value=True
+
+# We do not use i18n comments. Therefore we allow yapf to also format these things.
+# Most declarations e.g. in cmk/gui/plugins/wato/active_checks.py are only reformatted
+# with this change.
+i18n_comment=
+i18n_function_call=