diff options
Diffstat (limited to 'lua/tests/indent/python')
| -rw-r--r-- | lua/tests/indent/python/aligned_indent.py | 11 | ||||
| -rw-r--r-- | lua/tests/indent/python/basic_blocks.py | 14 | ||||
| -rw-r--r-- | lua/tests/indent/python/basic_collections.py | 23 | ||||
| -rw-r--r-- | lua/tests/indent/python/branches.py | 27 | ||||
| -rw-r--r-- | lua/tests/indent/python/comprehensions.py | 25 | ||||
| -rw-r--r-- | lua/tests/indent/python/control_flow.py | 22 | ||||
| -rw-r--r-- | lua/tests/indent/python/hanging_indent.py | 6 | ||||
| -rw-r--r-- | lua/tests/indent/python/join_lines.py | 8 | ||||
| -rw-r--r-- | lua/tests/indent/python/nested_collections.py | 41 | ||||
| -rw-r--r-- | lua/tests/indent/python/strings.py | 17 |
10 files changed, 0 insertions, 194 deletions
diff --git a/lua/tests/indent/python/aligned_indent.py b/lua/tests/indent/python/aligned_indent.py deleted file mode 100644 index 2a4b827f4..000000000 --- a/lua/tests/indent/python/aligned_indent.py +++ /dev/null @@ -1,11 +0,0 @@ -def aligned_indent(arg1, - arg2): - pass - -aligned_indent(1, - 2) - - -aligned_indent(1, - 2 - ) diff --git a/lua/tests/indent/python/basic_blocks.py b/lua/tests/indent/python/basic_blocks.py deleted file mode 100644 index 4f36359bd..000000000 --- a/lua/tests/indent/python/basic_blocks.py +++ /dev/null @@ -1,14 +0,0 @@ -from os import ( - path, - name as OsName -) - -def foo(x): - pass - -class Foo: - def __init__(self): - pass - - def foo(self): - pass diff --git a/lua/tests/indent/python/basic_collections.py b/lua/tests/indent/python/basic_collections.py deleted file mode 100644 index 1582b9059..000000000 --- a/lua/tests/indent/python/basic_collections.py +++ /dev/null @@ -1,23 +0,0 @@ -# list -a = [ - 1, 2, - 3 -] - -# set -b = { - 3, - 4, -} - -# dict -c = { - 'a': 'b', - 'c': 1, -} - -# tuple -d = ( - 1, - 2, -) diff --git a/lua/tests/indent/python/branches.py b/lua/tests/indent/python/branches.py deleted file mode 100644 index 7ce106bd7..000000000 --- a/lua/tests/indent/python/branches.py +++ /dev/null @@ -1,27 +0,0 @@ -a = [ - 1, 2, 3] - -b = [ - x + 1 - for x in range(3)] - -c = [[[ - 1 -]]] - -d = [[[ - 4]]] - -e = [[ - 1], 2, 3] - -def foo(x, y): - pass - -foo( - a, - b) - -if (a and - b): - pass diff --git a/lua/tests/indent/python/comprehensions.py b/lua/tests/indent/python/comprehensions.py deleted file mode 100644 index 53c3961e1..000000000 --- a/lua/tests/indent/python/comprehensions.py +++ /dev/null @@ -1,25 +0,0 @@ -# list -a = [ - x + 1 for x in range(3) -] - -# dict -b = { - x: x + 1 for x in range(3) -} - -# generator -c = ( - x * x for x in range(3) -) - -# set -d = { - x + x for x in range(3) -} - -# other styles -e = [ - x + 1 for x - in range(3) -] diff --git a/lua/tests/indent/python/control_flow.py b/lua/tests/indent/python/control_flow.py deleted file mode 100644 index c8cd2541b..000000000 --- a/lua/tests/indent/python/control_flow.py +++ /dev/null @@ -1,22 +0,0 @@ -if a == a: - x = 1 -elif b: - x = 2 -else: - x = 3 - -while False: - pass - -for _ in range(3): - pass - -with open('/tmp/f', 'w') as f: - pass - -try: - pass -except: - pass -finally: - pass diff --git a/lua/tests/indent/python/hanging_indent.py b/lua/tests/indent/python/hanging_indent.py deleted file mode 100644 index 4d46ebed0..000000000 --- a/lua/tests/indent/python/hanging_indent.py +++ /dev/null @@ -1,6 +0,0 @@ -def hanging_indent( - arg1, arg2): - pass - -hanging_indent( - 1, 2) diff --git a/lua/tests/indent/python/join_lines.py b/lua/tests/indent/python/join_lines.py deleted file mode 100644 index 491b2cc37..000000000 --- a/lua/tests/indent/python/join_lines.py +++ /dev/null @@ -1,8 +0,0 @@ -a = 2 \ - + 2 - -b = 'hello' \ - 'world' - -c = lambda x: \ - x + 3 diff --git a/lua/tests/indent/python/nested_collections.py b/lua/tests/indent/python/nested_collections.py deleted file mode 100644 index 292a65a00..000000000 --- a/lua/tests/indent/python/nested_collections.py +++ /dev/null @@ -1,41 +0,0 @@ -a = [ - 1, - [ - 2, - [ - 3 - ] - ] -] - -b = [ - 1, [[ - 3 - ], - ] -] - -c = [[[ - 3 -]]] - -d = { - 'a': [ - 2, 3 - ], - 'c': ( - [1, 2, 3], - [ - 2, - 4 - ], { - 6, - 8 - } - ) -} - -e = (1, 2, - 3, 4, - 5, 6 - ) diff --git a/lua/tests/indent/python/strings.py b/lua/tests/indent/python/strings.py deleted file mode 100644 index 0eb088fa6..000000000 --- a/lua/tests/indent/python/strings.py +++ /dev/null @@ -1,17 +0,0 @@ -a = """ - String A -""" - -b = """ -String B -""" - -c = """ - String C - """ - -d = """ - String D -String D - String D - """ |
