Commit graph

3376 commits

Author SHA1 Message Date
Will McGugan
a09e0890cc
Merge pull request #914 from willmcgugan/dependabot/pip/pygments-2.7.4
Bump pygments from 2.7.3 to 2.7.4
2021-01-13 16:52:02 +00:00
Will McGugan
f7c078313d fix TypeError in inspect 2021-01-13 16:51:38 +00:00
Will McGugan
03616429c7
Merge pull request #911 from jack1142/patch-1
Use `>` as line pointer when `legacy_windows` option is enabled
2021-01-13 16:51:23 +00:00
Will McGugan
f84c84f262
Merge pull request #912 from jack1142/fix_mypy_issue
Stop `rich.live` from importing same module under a different name
2021-01-13 16:50:55 +00:00
Will McGugan
ba7f3d3f89
Merge pull request #915 from realnitinworks/doc-fixes
fix grammatical mistake in docs
2021-01-13 16:50:15 +00:00
Nitin George Cherian
13e848644c Correct a missing word in docs 2021-01-13 13:21:34 +05:30
Nitin George Cherian
e600d70053 fix grammatical mistake in docs 2021-01-13 12:59:24 +05:30
dependabot[bot]
8576d245fd
Bump pygments from 2.7.3 to 2.7.4
Bumps [pygments](https://github.com/pygments/pygments) from 2.7.3 to 2.7.4.
- [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.3...2.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-13 05:53:20 +00:00
jack1142
9e881e5510
Fix mypy's issue with having same file under 2 module names 2021-01-13 04:52:41 +01:00
jack1142
6820c1a916
Use > as line pointer when legacy_windows option is enabled 2021-01-12 14:58:01 +01:00
Will McGugan
a1e9cc7cc6
Merge pull request #909 from realnitinworks/doc-fixes
fix text indentation in docstring
2021-01-12 11:02:20 +00:00
Nitin George Cherian
d4d087c14f fix text indentation in docstring 2021-01-12 12:10:32 +05:30
Will McGugan
2d3ec69f68
Merge pull request #908 from willmcgugan/bump9.8.0
bump version
2021-01-11 21:41:07 +00:00
Will McGugan
aaa99b7c2c magick mock 2021-01-11 21:37:04 +00:00
Will McGugan
cfcd74dc00 fixes mock_calls printing 2021-01-11 21:36:15 +00:00
Will McGugan
a6b2ce2689 bump version 2021-01-11 21:28:19 +00:00
Will McGugan
2237359311
Merge pull request #907 from willmcgugan/tree-measure
no color progress fixes
2021-01-11 21:16:00 +00:00
Will McGugan
9ebb0ca407
Merge branch 'master' into tree-measure 2021-01-11 21:15:39 +00:00
Will McGugan
7b7a89c9e7 no color progress fixes 2021-01-11 21:14:14 +00:00
Will McGugan
21e9596e07
Merge pull request #904 from willmcgugan/tree-measure
Add rich_measure to tree and VerticalCenter
2021-01-11 21:12:43 +00:00
Will McGugan
d54ed23eea
Merge branch 'master' into tree-measure 2021-01-11 21:12:12 +00:00
Will McGugan
0c3db4e641
Merge pull request #902 from amancevice/markdown-stdin
allow stdin on rich.markdown / rich.syntax
2021-01-11 21:11:35 +00:00
Alexander Mancevice
1364a0628f allow stdin on rich.syntax.__main__
If user provides no PATH or uses "-" as PATH, text is read from sys.stdin.
If no PATH is provided the default lexer is used, unless the user passes the lexer via CLI args.

Example:
python -m rich.syntax -L Python < index.py
cat index.py | python -m rich.syntax -L Python
2021-01-11 12:55:14 -05:00
Will McGugan
03ce6468d8
Merge pull request #905 from realnitinworks/doc-fixes
fix spelling in docstring
2021-01-11 17:23:51 +00:00
Will McGugan
83af486136
Merge pull request #906 from jack1142/patch-1
Use `cls` instead of class name in `Traceback.from_exception()`
2021-01-11 13:50:09 +00:00
jack1142
e6490b5dbd
Use cls instead of class name in Traceback.from_exception() 2021-01-11 13:59:16 +01:00
Nitin George Cherian
645e851aad fix spelling in docstring 2021-01-11 15:53:06 +05:30
Will McGugan
e763dfeac0 tweak 2021-01-10 22:09:53 +00:00
Will McGugan
8932125df1 formatting 2021-01-10 22:02:38 +00:00
Will McGugan
b0908df479 remove height from options 2021-01-10 22:00:53 +00:00
Will McGugan
54bf147e19 vertical align 2021-01-10 19:26:36 +00:00
Will McGugan
e7425eeecc measure tree 2021-01-10 16:56:58 +00:00
Alexander Mancevice
d28cbf8878 allow stdin on rich.markdown.__main__
If user provides no PATH or uses "-" as PATH, markdown is read from sys.stdin.

Example:
python -m rich.markdown < README.md
cat README.md | python -m rich.markdown
2021-01-09 16:03:38 -05:00
Will McGugan
6b0fd05c92 readme 2021-01-09 20:39:03 +00:00
Will McGugan
400671dac6 doc 2021-01-09 19:37:22 +00:00
Will McGugan
0f88bef922 doc fix 2021-01-09 17:03:58 +00:00
Will McGugan
a6d81a3267 tree docs 2021-01-09 16:59:21 +00:00
Will McGugan
ecf3d7f1ca version bump 2021-01-09 16:44:09 +00:00
Will McGugan
87874f687e
Merge pull request #901 from willmcgugan/no_color
No color
2021-01-09 16:23:59 +00:00
Will McGugan
6bac7ffb86 no color test 2021-01-09 16:20:17 +00:00
Will McGugan
c436acfcb0 formatting 2021-01-09 16:15:15 +00:00
Will McGugan
7a7852afa0 docstrings for no_color 2021-01-09 16:10:29 +00:00
Will McGugan
3573c9e1e2 add no_color flag 2021-01-09 16:08:36 +00:00
Will McGugan
a9c0f917ae fix image in readme 2021-01-09 15:33:09 +00:00
Will McGugan
ae425d43c3
Merge pull request #873 from willmcgugan/tree
tree renderable
2021-01-09 15:32:03 +00:00
Will McGugan
6853210b5e version bump 2021-01-09 15:28:54 +00:00
Will McGugan
4a9ed9c53a tree documentation 2021-01-09 15:28:04 +00:00
Will McGugan
63135caeba tree screenshot 2021-01-09 14:34:17 +00:00
Will McGugan
365b8d7c11 render test 2021-01-09 14:15:36 +00:00
Will McGugan
f80601a93e tree tests 2021-01-09 14:10:07 +00:00