Update yapf configuration for simplicity

- Currently set spaces_before_comment is default, don't set explicitly.

- Currently set split_before_logical_operator is default, don't set explicitly.

- Current set each_dict_entry_on_separate_line is default, don't set explicitly.
  Also this is not a configuration available on yapf in stretch making this
  configuration unusable on stretch machines.

- coalesce_backets is only effective when dedent_closing_brackets is set which
  is off by default. So this has no effect.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2017-12-13 18:55:38 -05:00
1 parent cb55b87660
commit 3e644f7afa
1 file changed
+1 -5
+1 -5
View File
@@ -1,8 +1,4 @@
[style]
based_on_style = pep8
spaces_before_comment = 2
split_before_logical_operator = false
each_dict_entry_on_separate_line = true
coalesce_brackets = false
indent_dictionary_value = true
split_before_named_assigns = false
split_before_named_assigns = false