From 3e644f7afa0d349c1607d83489c6eee940189d55 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 6 Dec 2017 13:48:35 +0530 Subject: [PATCH] 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 Reviewed-by: James Valleroy --- .style.yapf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.style.yapf b/.style.yapf index 841a11856..d1467c347 100644 --- a/.style.yapf +++ b/.style.yapf @@ -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 \ No newline at end of file +split_before_named_assigns = false