Skip to content

Commit

Permalink
Add missing user_only field in Options (#275)
Browse files Browse the repository at this point in the history
Found this while exploring the code. The absence of this field doesn't
affect the runtime since the `cast()` call in `get_options()` exists
more-or-less to provide information to the type checker.
  • Loading branch information
kemzeb authored Aug 2, 2023
1 parent 1ca7fe7 commit 9e32ec9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pipdeptree/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Options(Namespace):
python: str
all: bool # noqa: A003
local_only: bool
user_only: bool
warn: Literal["silence", "suppress", "fail"]
reverse: bool
packages: str
Expand Down

0 comments on commit 9e32ec9

Please sign in to comment.