File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ install_requires =
71
71
enrich>=1.2.6
72
72
packaging
73
73
pyyaml
74
- rich>=9.5.1
74
+ rich>=10.7.0
75
75
ruamel.yaml >= 0.15.34,<1; python_version < "3.7"
76
76
ruamel.yaml >= 0.15.37,<1; python_version >= "3.7"
77
77
# NOTE: per issue #509 0.15.34 included in debian backports
Original file line number Diff line number Diff line change 3
3
from typing import Iterable
4
4
5
5
from rich import box
6
- from rich .console import render_group
6
+ from rich .console import group
7
7
from rich .markdown import Markdown
8
8
from rich .table import Table
9
9
@@ -47,7 +47,7 @@ def rules_as_rst(rules: RulesCollection) -> str:
47
47
return r
48
48
49
49
50
- @render_group ()
50
+ @group ()
51
51
def rules_as_rich (rules : RulesCollection ) -> Iterable [Table ]:
52
52
"""Print documentation for a list of rules, returns empty string."""
53
53
width = max (16 , * [len (rule .id ) for rule in rules ])
You can’t perform that action at this time.
0 commit comments