Commit graph

42 commits

Author SHA1 Message Date
Darren Burns
26910c309d
In Pretty, when namedtuples have custom reprs, use them instead of our own 2022-03-08 11:38:52 +00:00
Darren Burns
934c6ef720
Testing pretty.py - objects similar to namedtuples, namedtuple max_depth 2022-03-07 13:31:56 +00:00
Darren Burns
5d3cc7ea8c
Add support for named tuples to pretty 2022-03-07 11:38:51 +00:00
Will McGugan
3b1518f943 sorted 2022-02-26 19:03:23 +00:00
Darren Burns
0c765bce3c
Merge branch 'master' into 1717-jupyter-pretty 2022-01-06 15:26:01 +00:00
Will McGugan
dafb1d567f Merge branch 'max-depth' of github.com:willmcgugan/rich into max-depth 2022-01-06 15:07:24 +00:00
Will McGugan
bff7981788 test max depth of None 2022-01-06 15:07:05 +00:00
Will McGugan
76b5dd233a
Update tests/test_pretty.py
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2022-01-06 15:04:47 +00:00
Darren Burns
a3fcdbe210 Extract ipy display hook and add tests around it 2022-01-06 14:17:34 +00:00
Will McGugan
01f95d7e81 max depth arg 2022-01-06 10:33:18 +00:00
Will McGugan
86032f6354 exclude 36 2021-11-28 16:00:04 +00:00
Will McGugan
aeac63da7a conditional test 2021-11-28 13:09:08 +00:00
Will McGugan
07d51ffc1a race condition and tests 2021-11-27 19:41:29 +00:00
Will McGugan
7657a8e8f9 fix trailing comma 2021-11-07 15:59:12 +00:00
Will McGugan
b5fc0f8dd8 fix 310 error message 2021-10-06 13:59:05 +01:00
Will McGugan
3da0e79e3c added skips 2021-10-06 13:55:11 +01:00
Will McGugan
2aa932cf58 fix broken test on py310 2021-10-06 13:51:26 +01:00
Will McGugan
f934b09ecb test fake attributes 2021-09-18 09:43:09 +01:00
Will McGugan
1af5eee96f pretty docs 2021-06-09 15:39:58 +01:00
Will McGugan
410a06e18f added types to pretty printer 2021-05-12 15:31:19 +01:00
Will McGugan
f0b16ba2c2 allow repr to be a callable 2021-05-07 17:47:03 +01:00
Will McGugan
6bd5b815b8 import test fix 2021-05-07 15:59:22 +01:00
Will McGugan
1b0e4c6fe9 skip test on py36 2021-05-07 14:57:33 +01:00
Will McGugan
da4737a999 typing and black 2021-05-07 14:47:38 +01:00
Will McGugan
1f0491ed17 tests for pretty attrs 2021-05-07 14:43:30 +01:00
Will McGugan
cbbc490d2b rename dataclass in test 2021-03-06 14:25:23 +00:00
Will McGugan
a05ff5f942 pretty printable dataclasses 2021-03-06 14:14:06 +00:00
Will McGugan
becaaaed56 black 2021-02-20 11:55:45 +00:00
Will McGugan
a49e595996 fixes 2021-02-20 11:05:21 +00:00
Will McGugan
7199b6fb3b selectively insert new line in iPython 2020-12-29 18:21:26 +00:00
Will McGugan
e17e1d5bdb black 2020-11-27 20:06:59 +00:00
Will McGugan
0138b18950 fix tuple of one issue 2020-11-27 20:04:53 +00:00
Will McGugan
8421f69695 black 2020-11-03 09:53:18 +00:00
Will McGugan
637d3d0a85 max_lines 2020-10-30 17:32:36 +00:00
Will McGugan
70d4b19af5 added container abbreviation to pretty print 2020-10-23 16:44:49 +01:00
Will McGugan
be1b14d42b indentaion guides 2020-10-22 21:17:03 +01:00
Will McGugan
9c5d790488
Merge pull request #334 from phase06/master
add tests for syntax
2020-10-10 18:58:43 +01:00
Edward Knight
e6904fbcac Don't rely on set ordering for test data 2020-10-10 14:33:01 +01:00
phase06
f07710da60 added test to pretty 2020-10-05 22:37:51 +08:00
Will McGugan
aee5e12ab8 tests 2020-08-24 17:26:30 +01:00
Will McGugan
b86a0cbd47 Test revursive 2020-08-08 15:57:01 +01:00
Will McGugan
0d1a172b7c repl 2020-08-08 11:47:10 +01:00