Skip to content

Commit 1e7bfd5

Browse files
🚨 Make linter happy
1 parent acb207d commit 1e7bfd5

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

examples/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
22
from typing import Any
33

4-
from adorable.common import YELLOW, AQUA, GREEN
4+
from adorable.common import AQUA, GREEN, YELLOW
55
from loguru import logger
66
from rich import print
77

powercli/_help_utils.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
from typing import TYPE_CHECKING, Any
2828

2929
import wraptext
30-
from adorable import ansi, color
31-
from adorable.color import Color, RGB
30+
from adorable import color
31+
from adorable.color import Color
3232
from adorable.common import BLACK, BOLD, MAROON, NAVY
3333

3434
from .static import Static
@@ -209,9 +209,7 @@ def examples(cmd: Command[Any, Any]) -> str:
209209
lines.append(
210210
f"{BOLD:{_indent_text(example.description, indent=' ', indent_initial=True)}}"
211211
)
212-
command_line = (
213-
f"{PROMPT_PREFIX} {cmd._subcommand_path()} {' '.join(shlex.quote(arg) for arg in example.args)}"
214-
)
212+
command_line = f"{PROMPT_PREFIX} {cmd._subcommand_path()} {' '.join(shlex.quote(arg) for arg in example.args)}"
215213
# TODO: syntax highlighting
216214
lines.append(_indent_text(command_line, indent=" ", indent_initial=True))
217215
lines.append("")

0 commit comments

Comments
 (0)