Commit graph

3376 commits

Author SHA1 Message Date
Nathan Page
e0337f5060 simplify live demo example 2020-10-31 12:34:29 -04:00
Will McGugan
f2ad660797 black tests 2020-10-31 14:14:44 +00:00
Will McGugan
8a6c910c23 used auto-width for level field 2020-10-31 14:12:46 +00:00
Will McGugan
eb446dacb6 change to text 2020-10-31 14:06:22 +00:00
Will McGugan
3c9cca19a5 rich handler refactor 2020-10-31 14:02:16 +00:00
Will McGugan
434eccb17e
Merge pull request #414 from willmcgugan/dependabot/pip/pytest-6.1.2
Bump pytest from 6.1.1 to 6.1.2
2020-10-31 13:47:26 +00:00
Will McGugan
637d3d0a85 max_lines 2020-10-30 17:32:36 +00:00
dependabot[bot]
6bf861bc62
Bump pytest from 6.1.1 to 6.1.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.1...6.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-29 06:00:08 +00:00
Will McGugan
94f92e74fc
Merge pull request #411 from willmcgugan/dependabot/pip/pygments-2.7.2
Bump pygments from 2.7.1 to 2.7.2
2020-10-27 17:08:21 +00:00
Will McGugan
a6c222cee5
Merge pull request #410 from willmcgugan/dependabot/pip/poetry-1.1.4
Bump poetry from 1.1.3 to 1.1.4
2020-10-27 17:08:00 +00:00
Will McGugan
64a60b5754
Merge pull request #413 from ssbarnea/usage
Document use of rich by molecule and ansible-lint projects
2020-10-27 16:58:59 +00:00
Sorin Sbarnea
7e6e1bca27 Document use of rich by Ansible projects
Documents use of rich by molecule and ansible-lint, two popular
command line tools with over 2k github stars.
2020-10-27 16:51:10 +00:00
dependabot[bot]
575259dfe4
Bump pygments from 2.7.1 to 2.7.2
Bumps [pygments](https://github.com/pygments/pygments) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.7.1...2.7.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-26 06:48:26 +00:00
dependabot[bot]
ecbdb888af
Bump poetry from 1.1.3 to 1.1.4
Bumps [poetry](https://github.com/python-poetry/poetry) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/python-poetry/poetry/releases)
- [Changelog](https://github.com/python-poetry/poetry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-poetry/poetry/compare/1.1.3...1.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-26 06:46:58 +00:00
Nathan Page
4ac0cb8990 remove old code from live docs 2020-10-25 22:40:15 -04:00
Nathan Page
6ee5f064a7 fix live test by disabling auto_refresh 2020-10-25 22:29:00 -04:00
Nathan Page
a154bcd0ea add nathan to contributors 2020-10-25 22:21:41 -04:00
Nathan Page
98c1d58ba4 add usage documentation for the live module 2020-10-25 22:15:37 -04:00
Nathan Page
6ccbaee622 file/dumb_terminal console will now print out the final result 2020-10-25 20:24:11 -04:00
Nathan Page
5a27df8f1a add check with a file to make sure it prints nothing 2020-10-25 19:52:30 -04:00
Nathan Page
6b7373fe4a remove auto-refresh test as it is non-deterministic 2020-10-25 18:34:00 -04:00
Nathan Page
3853be1e39 add check for getting item 2020-10-25 18:25:05 -04:00
Nathan Page
972eaceade add live tests with fluctuating data lengths 2020-10-25 18:18:57 -04:00
Nathan Page
4b7ada8c27 remove carriage return for windows testing 2020-10-25 17:07:51 -04:00
Nathan Page
125dc1d619 temporarily disable live tests on 3.7 2020-10-25 16:57:54 -04:00
Nathan Page
8c045b7fcb put throught the same force encoding-decoding conversion 2020-10-25 16:36:53 -04:00
Nathan Page
fa63fb8d77 force utf-8 encoding for python3.6 2020-10-25 16:33:05 -04:00
Nathan Page
6a50f1a123 fix incorrect test 2020-10-25 16:28:39 -04:00
Nathan Page
bdbd05e46b remove unhelpful difflib print 2020-10-25 16:25:38 -04:00
Nathan Page
9e110425a4 live test only print diff 2020-10-25 16:12:23 -04:00
Nathan Page
3da87273a2 add a diff to see what is wrong in ubuntu test 2020-10-25 16:01:58 -04:00
Nathan Page
f6d1496213 correctly format all files 2020-10-25 15:49:50 -04:00
Nathan Page
5c09f322a2 add in an initial line of tests 2020-10-25 15:48:03 -04:00
Nathan Page
34f13668ca add reference documentation for the live module 2020-10-25 13:11:01 -04:00
Nathan Page
bf358792d8 add saner values for the example 2020-10-25 12:35:20 -04:00
Nathan Page
6da3b2a45d fix un-needed assert check expression 2020-10-24 17:49:52 -04:00
Nathan Page
7e01d315c0 add documentation describing the API of Live 2020-10-24 17:45:58 -04:00
Nathan Page
d4bb878b1d add some of the playground examples into the module 2020-10-24 17:24:05 -04:00
Nathan Page
a2385c525b Add the default feature of hiding the Live when the display is too
large. Instead terminal too small will be displayed.

This can be turned off with the hide_overflow flag.
2020-10-24 17:17:08 -04:00
Nathan Page
ae15cff503 provide comment as to why Live needs lock in process_renderables 2020-10-24 16:23:24 -04:00
Nathan Page
119211e37f use same name for refresh per second instead of delay time. matches with progess 2020-10-24 16:16:44 -04:00
Nathan Page
cfa625cc89 remove spurious typing auto-import 2020-10-24 16:11:59 -04:00
Nathan Page
d8df37ba57 add threading to the live function 2020-10-24 16:09:28 -04:00
Nathan Page
133ae932f6 Merge branch 'master' into feat/add-live-table-proposal 2020-10-24 14:55:19 -04:00
Sorin Sbarnea
180bd0548f Add tox configurations
Fixes: #295
2020-10-24 18:02:46 +01:00
Will McGugan
908c55c496 changelog 2020-10-23 18:01:12 +01:00
Will McGugan
36efcb5abe
Merge pull request #402 from willmcgugan/indent-guides
Indent guides
2020-10-23 17:55:09 +01:00
Will McGugan
37fcd2aed6 black 2020-10-23 17:40:10 +01:00
Will McGugan
813610df3e improved example 2020-10-23 17:20:05 +01:00
Will McGugan
a9abd8ae26 Merge branch 'master' into indent-guides 2020-10-23 17:06:11 +01:00