Commit graph

720 commits

Author SHA1 Message Date
Will McGugan
b736f8af66
Merge branch 'master' into progress-reader 2022-03-15 11:12:01 +00:00
Will McGugan
e0c9d0d36a
Merge pull request #2001 from hadialqattan/pycln
Pycln QA tool as a pre-commit hook
2022-03-15 11:02:23 +00:00
Martin Larralde
2e6186270b
Merge branch 'master' into progress-reader 2022-03-14 19:02:35 +01:00
Darren Burns
e55277110b
Fix incorrectly parameterised test 2022-03-14 10:44:19 +00:00
Darren Burns
98ccf3b405
Remove some unused patching from tests 2022-03-14 10:34:22 +00:00
Darren Burns
1b3d0ae1de Using write to write to stdout file on legacy windows 2022-03-14 10:22:06 +00:00
Martin Larralde
fc341f7f73 Add test to ensure Progress.wrap_file can extract the total from a task 2022-03-13 18:45:29 +01:00
Martin Larralde
1320046537 Split Progress.read into Progress.open and Progress.wrap_file methods 2022-03-13 18:36:47 +01:00
Martin Larralde
97da885c04 Reformat new progress code with black 2022-03-13 12:54:12 +01:00
Martin Larralde
d6f61d83de Add tests to tests.test_progress to make sure files are closed properly 2022-03-13 12:54:12 +01:00
Hadi Alqattan
a30e04d74a Run the latest black. 2022-03-11 19:12:46 +03:00
Hadi Alqattan
73a9a413ea Run pycln over the entire project and double check the accuracy. 2022-03-11 19:12:35 +03:00
Will McGugan
79e5f9523d test env 2022-03-10 11:13:27 +00:00
Will McGugan
0f17da17f3 force env 2022-03-10 11:09:38 +00:00
Will McGugan
8a4432892d remove deprecated test 2022-03-10 11:00:32 +00:00
Will McGugan
5a3c6e67f6 remove deprecated tests 2022-03-10 10:51:10 +00:00
Will McGugan
e4c9fc22d7 test reset height 2022-03-10 10:47:19 +00:00
Will McGugan
8fe170ad04
Merge branch 'master' into ansi-to-win32 2022-03-09 10:53:12 +00:00
Darren Burns
93e584c47c
Add extra JSON highlighting tests 2022-03-08 15:43:35 +00:00
Darren Burns
c9b70864e3
Fix JSON key highlighting when no indentation 2022-03-08 15:21:50 +00:00
Darren Burns
8e3d8e8253
Merge branch 'master' of github.com:Textualize/rich into print-json-indent-fix 2022-03-08 14:21:05 +00:00
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
c938561c16
Fix printing JSON highlighting when indent=None 2022-03-07 17:01:02 +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
Darren Burns
ca3e966de9 Handle legacy windows error 2022-03-03 16:14:01 +00:00
Darren Burns
1122501d62 Use WriteConsoleW instead of file.write(...) in LegacyWindowsTerm 2022-03-03 13:54:38 +00:00
Darren Burns
75253775bc
Use Python 3.6 & 3.7 compatible means of acceessing mock call args/kwargs in test 2022-03-02 11:50:07 +00:00
Darren Burns
862416acf4
Fix typing issues 2022-03-02 11:25:23 +00:00
Darren Burns
151276b2cf
Run legacy Windows tests on Windows only 2022-03-02 11:17:31 +00:00
Darren Burns
7d08e0a7cd Fixing test module on non-Windows platforms 2022-03-01 16:23:05 +00:00
Darren Burns
97d05f592a Fixing test module on non-Windows platforms 2022-03-01 16:19:18 +00:00
Darren Burns
501dcbdfe8 Add tests for LegacyWindowsTerm 2022-03-01 16:15:21 +00:00
Darren Burns
bb9ab3cfaa Merge branch 'master' of https://github.com/Textualize/rich into ansi-to-win32 2022-03-01 13:37:40 +00:00
Darren Burns
ffc5813e18 Attempting to appease mypy on non-Windows platforms 2022-03-01 10:23:29 +00:00
Darren Burns
1a11ea3449 Conversion of Segments to legacy Windows API calls 2022-03-01 10:14:08 +00:00
Will McGugan
646d933d47
Merge pull request #1992 from bhrutledge/condensed-time-column
Add condensed time column
2022-02-27 10:34:41 +00:00
Will McGugan
fd77772fbe different on win 2022-02-26 21:14:53 +00:00
Will McGugan
73c4cd3377 win fix 2022-02-26 21:08:37 +00:00
Brian Rutledge
71b1ac60e3
Move new behaviors to TimeRemainingColumn 2022-02-26 15:57:58 -05:00
Will McGugan
b5436bd0a3 win32 hack 2022-02-26 20:46:04 +00:00
Will McGugan
824bcb1a7c win fix 2022-02-26 20:35:59 +00:00
Will McGugan
76f0b3e195 tree tests changed 2022-02-26 20:25:42 +00:00
Will McGugan
3b1518f943 sorted 2022-02-26 19:03:23 +00:00
Brian Rutledge
1ab2fa650f
Add condensed time column 2022-02-22 06:59:01 -05:00
Brian Rutledge
156c9c450e
Use "kB" for DownloadColumn 2022-02-21 06:01:53 -05:00
Will McGugan
a2f6688ed3
Merge pull request #1920 from brakhane/fix-repr-highlighter
Fix repr highlighter
2022-02-11 11:08:50 +00:00
Will McGugan
2aea852610
Merge pull request #1941 from ptmcg/ptmcg/add_DownloadCountsColumn_progress_column_type
Add MofNCompleteColumn ProgressColumn type
2022-02-11 11:07:23 +00:00
Darren Burns
71325bb5bb Fix issue with markup escaping 2022-02-10 14:31:37 +00:00
Will McGugan
099893e8b1
Merge branch 'master' into fix-repr-highlighter 2022-02-10 11:54:19 +00:00