Skip to content

Commit 722e567

Browse files
authored
chore: fix linting issue caused by newer rich (#1800)
1 parent 9465a23 commit 722e567

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ repos:
8484
- enrich
8585
- flaky
8686
- pytest
87-
- rich>=10.2.1
87+
- rich>=11.0.0
8888
- ruamel.yaml
8989
- tenacity
9090
- types-PyYAML
@@ -109,7 +109,7 @@ repos:
109109
- flaky
110110
- pytest
111111
- pyyaml
112-
- rich
112+
- rich>=11.0.0
113113
- ruamel.yaml
114114
- sphinx
115115
- tenacity

constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pytest-cov==3.0.0
2525
pytest-forked==1.3.0
2626
pytest-xdist==2.4.0
2727
pyyaml==6.0
28-
rich==10.12.0
28+
rich==11.0.0
2929
ruamel.yaml==0.17.16 ; python_version >= "3.7"
3030
ruamel.yaml.clib==0.2.6
3131
tenacity==8.0.1

src/ansiblelint/generate_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
try:
99
from rich.console import group
1010
except ImportError:
11-
from rich.console import render_group as group
11+
from rich.console import render_group as group # type: ignore
1212

1313
from rich.markdown import Markdown
1414
from rich.table import Table

0 commit comments

Comments
 (0)