From f16a77583047d6d3ea684092c679bbe88398cb01 Mon Sep 17 00:00:00 2001 From: Grace Petryk Date: Tue, 16 Jul 2024 04:13:41 -0700 Subject: feat(python): Improved python indentation (#6859) * feat: improve python indentation * use lua-match * revert concatenated_string changes, handle function def hanging indents * lint * add delimiters to param query * add test cases --- tests/indent/python/aligned_indent.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/indent/python/aligned_indent.py') diff --git a/tests/indent/python/aligned_indent.py b/tests/indent/python/aligned_indent.py index b92356740..bdba8467a 100644 --- a/tests/indent/python/aligned_indent.py +++ b/tests/indent/python/aligned_indent.py @@ -2,6 +2,12 @@ def aligned_indent(arg1, arg2): pass +def aligned_indent2( + arg1, + arg2 +): + pass + aligned_indent(1, 2) @@ -10,5 +16,10 @@ aligned_indent(1, 2 ) +aligned_indent( + 1, + 2 +) + foodsadsa(sdada, 2 -- cgit v1.2.3-70-g09d2