Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
deps: remove rich
Browse files Browse the repository at this point in the history
Signed-off-by: Simon de Vlieger <[email protected]>
  • Loading branch information
supakeen committed May 10, 2024
1 parent 4fdff6e commit 34816bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ dependencies = [
"click >= 8.0",
"parsimonious >= 0.10",
"pyyaml >= 6.0",
"rich >= 13.0",
]

[project.scripts]
Expand Down
8 changes: 1 addition & 7 deletions src/otk/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from copy import deepcopy

import click
from rich.console import Console
from rich.logging import RichHandler

from .constant import PREFIX_TARGET
from .context import CommonContext
Expand Down Expand Up @@ -59,11 +57,7 @@ def root(
(
JSONSequenceHandler(identifier, stream=sys.stderr)
if json
else RichHandler(
omit_repeated_times=False,
show_path=False,
console=Console(stderr=True),
)
else logging.StreamHandler()
)
],
)
Expand Down

0 comments on commit 34816bb

Please sign in to comment.