mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-12 22:15:30 +00:00
Declare type for BaseOptions.description. Fixes many type errors.
This commit is contained in:
parent
1248d65778
commit
e0eb63929a
@ -45,7 +45,7 @@ class BaseOptions(usage.Options):
|
|||||||
def opt_version(self):
|
def opt_version(self):
|
||||||
raise usage.UsageError("--version not allowed on subcommands")
|
raise usage.UsageError("--version not allowed on subcommands")
|
||||||
|
|
||||||
description = None
|
description = None # type: Optional[str]
|
||||||
description_unwrapped = None
|
description_unwrapped = None
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user