Skip to content

Commit 7e34e7d

Browse files
committed
Remove excess library
1 parent 6ab11f3 commit 7e34e7d

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ python-ulid = "^2.2.0"
3232
slack-sdk = "^3.26.2"
3333
jupyterlab = "^4.1.5"
3434
nbdime = "^4.0.1"
35-
questionary = "^2.0.1"
3635

3736

3837
[tool.poetry.group.dev.dependencies]

runbook/cli/validators.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
import click
77

8-
# TODO: use click prompt lib instead of questionary to avoid dependency
9-
import questionary
10-
118

129
# TODO: ensure no duplicate extension here
1310
def validate_template(ctx, param, value):
@@ -76,7 +73,7 @@ def process_glob_matches(options):
7673
if len(options) == 1:
7774
return options[0]
7875
elif len(options) > 1:
79-
return questionary.select("Which file?", choices=options).ask()
76+
return click.prompt("Which file?", type=click.Choice(options))
8077
else:
8178
raise click.BadOptionUsage("FILENAME", f"unable to find {value} file")
8279

uv.lock

Lines changed: 0 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)