Declare type for BaseOptions.description. Fixes many type errors.

This commit is contained in:
Jason R. Coombs 2020-11-29 14:35:17 -05:00
parent 1248d65778
commit e0eb63929a

View File

@ -45,7 +45,7 @@ class BaseOptions(usage.Options):
def opt_version(self):
raise usage.UsageError("--version not allowed on subcommands")
description = None
description = None # type: Optional[str]
description_unwrapped = None
def __str__(self):