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 2017-12-06 13:48:35 +05:30 committed by James Valleroy
parent cb55b87660
commit 3e644f7afa
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

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