Commit graph

3376 commits

Author SHA1 Message Date
Darren Burns
bc82a15c55
Merge branch 'benchmark' of github.com:Textualize/rich into perf 2022-03-14 13:17:41 +00:00
Darren Burns
c6913cdab7
Merge branch 'master' of github.com:Textualize/rich into perf 2022-03-14 12:54:01 +00:00
Will McGugan
51121fe302
Merge pull request #2055 from Textualize/windows-capture-fix
Windows output capture fix
2022-03-14 11:48:53 +00:00
Darren Burns
e55277110b
Fix incorrectly parameterised test 2022-03-14 10:44:19 +00:00
Darren Burns
465777c429
Remove unused wrapping of win32.WriteConsole API 2022-03-14 10:36:29 +00:00
Darren Burns
98ccf3b405
Remove some unused patching from tests 2022-03-14 10:34:22 +00:00
Darren Burns
c26a661311
Update CHANGELOG regarding legacy Windows stdout capture fix 2022-03-14 10:29:35 +00:00
Darren Burns
3ff0b12ab5 Remove some test code from main block 2022-03-14 10:23:46 +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
0406578dc7 Update CHANGELOG.md to show the Progress.open and Progress.wrap_file 2022-03-13 19:48:58 +01:00
Martin Larralde
2b8ec3baa8 Add overloaded annotations for Progress.open and rich.progress.open 2022-03-13 19:44:43 +01:00
Martin Larralde
866307358f Make Progress.open have a signature compatible with open 2022-03-13 19:21:21 +01: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
3008780fc6 Remove unused import from rich.progress 2022-03-13 12:54:40 +01:00
Martin Larralde
a270e60158 Fix os.PathLike type annotations in rich.progress 2022-03-13 12:54:40 +01:00
Martin Larralde
f3f1bca230 Reformat rich.progress and document Progress.read in progress.rst 2022-03-13 12:54:40 +01:00
Martin Larralde
5e8da24c4e Fix additional typing issues in rich.progress 2022-03-13 12:54:38 +01:00
Martin Larralde
97da885c04 Reformat new progress code with black 2022-03-13 12:54:12 +01:00
Martin Larralde
46576a93bc Ignore type hint in rich.progress._Reader.readall 2022-03-13 12:54:12 +01:00
Martin Larralde
1432457bf1 Add an example showing how to copy a file with a progress bar 2022-03-13 12:54:12 +01:00
Martin Larralde
5cfa2039c1 Add missing type annotations to rich.progress._Reader 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
Martin Larralde
a5fa231348 Update Progress.read to close inner file only if given a path 2022-03-13 12:54:12 +01:00
Martin Larralde
5b2a4a7717 Update documentation of rich.progress.Progress.read 2022-03-13 12:54:12 +01:00
Martin Larralde
cf91bd4d42 Add Progress.read and rich.progress.read to track progress reading a file 2022-03-13 12:54:12 +01:00
Hadi Alqattan
5a93a6e087 Pycln cought unused import using the new version. 2022-03-12 16:23:42 +03:00
Hadi Alqattan
395db54ec3 Update Pycln to v1.2.5 2022-03-12 16:22:30 +03:00
Hadi Alqattan
98fffaf6b3 Update pycln to v1.2.4 2022-03-11 19:34:36 +03:00
Will McGugan
ae12e09065 Column fields 2022-03-11 16:26:18 +00:00
Hadi Alqattan
37f366fb92 Two unused imports have been cought by Pycln. 2022-03-11 19:23:47 +03:00
Hadi Alqattan
3ca5bac74c
Merge branch 'Textualize:master' into pycln 2022-03-11 19:16:41 +03: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
c1b43f0f18 better typehints in docs 2022-03-11 16:08:49 +00:00
Hadi Alqattan
d97f9bcdf6 Adding Pycln QA tool as a pre-commit hook. 2022-03-11 19:00:23 +03:00
Darren Burns
c2f5ddbea7
Merge branch 'master' of github.com:Textualize/rich into benchmark 2022-03-10 17:10:27 +00:00
Darren Burns
c80ad26d87
Add initial benchmark suite 2022-03-10 17:08:26 +00:00
Will McGugan
92fb4b6f5d changelog 2022-03-10 15:55:50 +00:00
Will McGugan
656b7a185d
Merge pull request #2045 from Textualize/v12.0.0
version bump
2022-03-10 15:17:21 +00:00
Will McGugan
0dd74933d4 version bump 2022-03-10 15:11:50 +00:00
Will McGugan
5d3af20f64 changelog and docstring 2022-03-10 13:33:51 +00:00
Will McGugan
d72f31918c
Merge pull request #2043 from Textualize/reset-height
reset height of children
2022-03-10 12:50:56 +00:00
Will McGugan
ebf4c90db6 deprecated 2022-03-10 11:21:40 +00: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
b1f02ab80a Merge branch 'master' into reset-height 2022-03-10 10:57:07 +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