Skip to content

Commit 34629db

Browse files
committed
build: declare click as a direct dependency
osw.cli.main subclasses click's Command and Group to report a misplaced root option, so click is imported directly. deptry flagged it as DEP003 and failed the quality job.
1 parent 827e963 commit 34629db

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ dependencies = [
5050
# the osw CLI (src/osw/cli); a base dependency, not an extra, so `pip
5151
# install osw` never ships a broken `osw` console script
5252
"typer",
53+
# typer is built on click, and osw.cli.main subclasses click's Command and
54+
# Group to report a misplaced root option. That is a direct import, so it
55+
# is declared here rather than relied on through typer.
56+
"click",
5357
# .env loading (osw.service.config). Also a base dependency: without it the
5458
# CLI silently cannot find a .env file and reports missing credentials
5559
"python-dotenv>=1.0",

‎uv.lock‎

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

0 commit comments

Comments
 (0)