Skip to content

Commit

Permalink
chore: fix linting issue caused by newer rich (#1800)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jan 10, 2022
1 parent 9465a23 commit 722e567
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ repos:
- enrich
- flaky
- pytest
- rich>=10.2.1
- rich>=11.0.0
- ruamel.yaml
- tenacity
- types-PyYAML
Expand All @@ -109,7 +109,7 @@ repos:
- flaky
- pytest
- pyyaml
- rich
- rich>=11.0.0
- ruamel.yaml
- sphinx
- tenacity
Expand Down
2 changes: 1 addition & 1 deletion constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pytest-cov==3.0.0
pytest-forked==1.3.0
pytest-xdist==2.4.0
pyyaml==6.0
rich==10.12.0
rich==11.0.0
ruamel.yaml==0.17.16 ; python_version >= "3.7"
ruamel.yaml.clib==0.2.6
tenacity==8.0.1
Expand Down
2 changes: 1 addition & 1 deletion src/ansiblelint/generate_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
try:
from rich.console import group
except ImportError:
from rich.console import render_group as group
from rich.console import render_group as group # type: ignore

from rich.markdown import Markdown
from rich.table import Table
Expand Down

0 comments on commit 722e567

Please sign in to comment.