From a9c75b499ab11dbb730a16aec1c5dfdc828fa180 Mon Sep 17 00:00:00 2001 From: Hannes Feldt <feldt@astron.nl> Date: Fri, 4 Nov 2022 10:04:23 +0100 Subject: [PATCH] Add some alignment rules --- .editorconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index 97c9aa7..671cfbe 100644 --- a/.editorconfig +++ b/.editorconfig @@ -75,13 +75,13 @@ ij_python_blank_lines_before_first_method = 0 ij_python_call_parameters_new_line_after_left_paren = false ij_python_call_parameters_right_paren_on_new_line = false ij_python_call_parameters_wrap = normal -ij_python_dict_alignment = 0 +ij_python_dict_alignment = 2 ij_python_dict_new_line_after_left_brace = false ij_python_dict_new_line_before_right_brace = false ij_python_dict_wrapping = 1 ij_python_from_import_new_line_after_left_parenthesis = false ij_python_from_import_new_line_before_right_parenthesis = false -ij_python_from_import_parentheses_force_if_multiline = false +ij_python_from_import_parentheses_force_if_multiline = true ij_python_from_import_trailing_comma_if_multiline = false ij_python_from_import_wrapping = 1 ij_python_hang_closing_brackets = false @@ -92,7 +92,7 @@ ij_python_keep_line_breaks = true ij_python_method_parameters_new_line_after_left_paren = false ij_python_method_parameters_right_paren_on_new_line = false ij_python_method_parameters_wrap = normal -ij_python_new_line_after_colon = false +ij_python_new_line_after_colon = true ij_python_new_line_after_colon_multi_clause = true ij_python_optimize_imports_always_split_from_imports = false ij_python_optimize_imports_case_insensitive_order = false @@ -127,7 +127,7 @@ ij_python_spaces_within_braces = false ij_python_spaces_within_brackets = false ij_python_spaces_within_method_call_parentheses = false ij_python_spaces_within_method_parentheses = false -ij_python_use_continuation_indent_for_arguments = false +ij_python_use_continuation_indent_for_arguments = true ij_python_use_continuation_indent_for_collection_and_comprehensions = false ij_python_use_continuation_indent_for_parameters = true ij_python_wrap_long_lines = false -- GitLab