aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/python
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/python')
-rw-r--r--tests/indent/python/line_after_indent.py65
1 files changed, 65 insertions, 0 deletions
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
+]