Add missing `user_only` field in `Options` (#275)

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.
This commit is contained in:
Kemal Zebari 2023-08-01 18:26:08 -07:00 committed by GitHub
parent 1ca7fe7472
commit 9e32ec9f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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