From f5ddd8f92e0222f96b88c6012453eee33e02728a Mon Sep 17 00:00:00 2001 From: Pham Huy Hoang Date: Thu, 16 Mar 2023 08:39:58 +0900 Subject: fix(python): add missing @indent_end --- tests/indent/python/line_after_indent.py | 65 ++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 tests/indent/python/line_after_indent.py (limited to 'tests/indent/python') diff --git a/tests/indent/python/line_after_indent.py b/tests/indent/python/line_after_indent.py new file mode 100644 index 000000000..ba24dc03f --- /dev/null +++ b/tests/indent/python/line_after_indent.py @@ -0,0 +1,65 @@ +( + a, + b +) + +foo.bar( + a, b +) + +foo = [ + 1, + 2, + 3 +] + +foo = { + "a": 1, + "b": 2, + "c": 3 +} + +foo = { + 1, + 2, + 3, +} + +foo = ( + 1 + 2 +) + +( + a for a in range(0, 10) +) + +foo = [ + a for a in range(0, 10) +] + +foo = { + a for a in range(0, 10) +} + +foo = { + a: b for a, b in items +} + +foo.bar( + "baz") + +[ + a + b for ( + a, + b + ) + in items +] + +[ + a + b for [ + a, + b + ] + in items +] -- cgit v1.2.3-70-g09d2