Will McGugan
0852511024
replace willmcgugan with textualize
2022-09-19 11:27:11 +01:00
wim glenn
90a7224ee6
fix invalid escapes
2022-08-11 21:03:13 -05:00
Will McGugan
e2332480eb
fix test
2022-05-02 20:25:44 +01:00
Olivier Philippon
f0ca6ff2bc
[traceback] Make _rich_traceback_guard
more consistent with _rich_traceback_omit
2022-04-26 13:43:41 +01:00
Olivier Philippon
740b89f49a
[traceback] Add traceback frame opt-out via a _rich_traceback_omit = True
machinery
2022-04-26 12:41:43 +01:00
Olivier Philippon
83af951663
[traceback] Fix "missing whitespace" bug
...
It turns out that we intentionally don't add such a whitespace at the beginning of the trace rendering, but we were actually doing so for the 2nd item of the stack rather than the 1st one
2022-04-26 11:36:43 +01:00
Darren Burns
c77dbb4888
Fallback to text lexer when no suitable lexer found
2022-03-30 12:25:57 +01:00
Darren Burns
b1673d029b
Prevent too broad except
clause in test
2022-01-31 14:25:36 +00:00
Darren Burns
b90c33eae7
Fix test in traceback, remove the no-eval pre-commit hook
2022-01-31 14:24:33 +00:00
Darren Burns
1a053eb9e6
Skip test on Windows
2022-01-06 21:21:30 +00:00
Darren Burns
8e62289754
Add regression test to ensure theme from Console applies to Tracebacks
2022-01-06 21:14:08 +00:00
Will McGugan
e96d889beb
tests
2021-09-24 09:41:23 +01:00
jack1142
0b93ce3438
Add test
2021-04-10 14:26:23 +02:00
Will McGugan
1b1f2d0631
new layout class
2021-02-12 21:59:35 +00:00
Will McGugan
122b8131bb
live refactor
2021-02-06 11:49:54 +00:00
Robert Xiao
a6b337954f
Use the proper error message with caused exceptions
...
When an exception is raised using "from", the chained exception goes into
__cause__, which results in a different message using Python's native traceback
handler. This patch properly replicates that error message.
2020-11-29 16:33:01 -06:00
Will McGugan
6faa216656
traceback improvements
2020-09-26 15:56:27 +01:00
Pim
ae6a8465c0
Fixed failing test
2020-08-10 18:41:03 +02:00
Pim
9b2ef66bcc
Blackify
2020-08-10 18:32:56 +02:00
Pim
2761f349e3
Exceptions in weird files
2020-08-10 18:31:28 +02:00
Pim
45eea9472a
test for nested exceptions
2020-08-10 18:01:27 +02:00
Pim
c5c06d1fa7
SyntaxError for traceback testing
2020-08-10 17:33:45 +02:00
Will McGugan
589bae9636
test fix
2020-07-16 17:24:16 +01:00
Will McGugan
9cba2027f4
more tests
2020-04-27 16:22:39 +01:00
Will McGugan
7029dbb74d
Fix test for CI
2020-04-08 07:27:01 +01:00
Will McGugan
d65be46dc4
Tests
2020-04-02 16:59:44 +01:00