All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 Execute(ale#python#HandleTraceback returns empty List for empty lines):
4 \ ale#python#HandleTraceback([], 10)
6 Execute(ale#python#HandleTraceback returns traceback, when present):
10 \ 'text': 'Exception: Example error (See :ALEDetail)',
12 \ 'Traceback (most recent call last):',
13 \ ' File "./example.py", line 5, in <module>',
14 \ ' raise Exception(''Example message'')',
15 \ 'Exception: Example error',
18 \ ale#python#HandleTraceback([
19 \ 'Traceback (most recent call last):',
20 \ ' File "./example.py", line 5, in <module>',
21 \ ' raise Exception(''Example message'')',
22 \ 'Exception: Example error',
25 " SyntaxError has extra output lines about the source
26 Execute(ale#python#HandleTraceback returns SyntaxError traceback):
30 \ 'text': 'SyntaxError: invalid syntax (See :ALEDetail)',
32 \ 'Traceback (most recent call last):',
33 \ ' File "<string>", line 1, in <module>',
34 \ ' File "example.py", line 5',
37 \ 'SyntaxError: invalid syntax',
40 \ ale#python#HandleTraceback([
41 \ 'Traceback (most recent call last):',
42 \ ' File "<string>", line 1, in <module>',
43 \ ' File "example.py", line 5',
46 \ 'SyntaxError: invalid syntax',
49 Execute(ale#python#HandleTraceback ignores traceback after line limit):
52 \ ale#python#HandleTraceback([
54 \ 'Traceback (most recent call last):',
55 \ ' File "./example.py", line 5, in <module>',
56 \ ' raise Exception(''Example message'')',
57 \ 'Exception: Example error',
60 Execute(ale#python#HandleTraceback doesn't include later lines in detail):
64 \ 'text': 'Exception: Example error (See :ALEDetail)',
66 \ 'Traceback (most recent call last):',
67 \ ' File "./example.py", line 5, in <module>',
68 \ ' raise Exception(''Example message'')',
69 \ 'Exception: Example error',
72 \ ale#python#HandleTraceback([
73 \ 'Traceback (most recent call last):',
74 \ ' File "./example.py", line 5, in <module>',
75 \ ' raise Exception(''Example message'')',
76 \ 'Exception: Example error',
77 \ 'file:1:2: Style issue',
78 \ 'file:3:4: Non-style issue',