Skip to content

Commit a3a1b86

Browse files
committed
Use vendored subc and drop dependency
Signed-off-by: Stephen Brennan <[email protected]>
1 parent f82d3cd commit a3a1b86

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
# request a relatively recent version, i.e. the latest as of this
6363
# writing.
6464
"oci>=2.85.0",
65-
"subc>=0.8.0",
6665
"setuptools",
6766
"argcomplete",
6867
]

yo/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@
9595
import rich.progress
9696
import rich.syntax
9797
import rich.table
98-
import subc
9998
from oci.exceptions import ServiceError
10099
from rich.live import Live
101100
from rich.progress import Progress
102101
from rich.prompt import Confirm
103102
from rich.text import Text
104103

104+
import yo.subc as subc
105105
import yo.util
106106
from yo.api import AttachmentType
107107
from yo.api import ImageLoad
@@ -819,7 +819,7 @@ class YoCmd(subc.Command):
819819
c: YoCtx
820820
es: contextlib.ExitStack
821821
rootname = "yo"
822-
help_formatter_class = ParagraphFormatter # type: ignore
822+
help_formatter_class = ParagraphFormatter
823823

824824
@classmethod
825825
def setup_config(cls) -> t.Tuple[YoCtx, t.Dict[str, str]]:

0 commit comments

Comments
 (0)