mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Adjust indentation of TODOs in third_party/2/gflags.pyi. (#2964)
Having TODOs at a different level of indentation than the surrounding lines trips up pytype.
This commit is contained in:
@@ -9,7 +9,6 @@ stdlib/3/typing.pyi
|
||||
|
||||
# third_party stubs with constructs that pytype doesn't yet support:
|
||||
third_party/2/fb303/FacebookService.pyi
|
||||
third_party/2/gflags.pyi
|
||||
third_party/2/scribe/scribe.pyi
|
||||
third_party/2/tornado/gen.pyi
|
||||
third_party/2/tornado/httpserver.pyi
|
||||
|
||||
6
third_party/2/gflags.pyi
vendored
6
third_party/2/gflags.pyi
vendored
@@ -34,7 +34,7 @@ class FlagValues:
|
||||
def UseGnuGetOpt(self, use_gnu_getopt: bool = ...) -> None: ...
|
||||
def is_gnu_getopt(self) -> bool: ...
|
||||
IsGnuGetOpt = is_gnu_getopt
|
||||
# TODO dict type
|
||||
# TODO dict type
|
||||
def FlagDict(self) -> dict: ...
|
||||
def flags_by_module_dict(self) -> Dict[str, List[Flag]]: ...
|
||||
FlagsByModuleDict = flags_by_module_dict
|
||||
@@ -83,7 +83,7 @@ class FlagValues:
|
||||
AppendFlagsIntoFile = append_flags_into_file
|
||||
def write_help_in_xml_format(self, outfile: IO[str] = ...) -> None: ...
|
||||
WriteHelpInXMLFormat = write_help_in_xml_format
|
||||
# TODO validator: gflags_validators.Validator
|
||||
# TODO validator: gflags_validators.Validator
|
||||
def AddValidator(self, validator: Any) -> None: ...
|
||||
|
||||
FLAGS: FlagValues
|
||||
@@ -113,7 +113,7 @@ class Flag:
|
||||
|
||||
class ArgumentParser(object):
|
||||
syntactic_help: str
|
||||
# TODO what is this
|
||||
# TODO what is this
|
||||
def parse(self, argument: Any) -> Any: ...
|
||||
Parser = parse
|
||||
def flag_type(self) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user