mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
committed by
Jelle Zijlstra
parent
885c2fd65e
commit
fdeae5d00e
@@ -135,6 +135,7 @@ def main():
|
||||
flags.append('--show-traceback')
|
||||
flags.append('--no-implicit-optional')
|
||||
flags.append('--disallow-any-generics')
|
||||
flags.append('--disallow-subclassing-any')
|
||||
if args.warn_unused_ignores:
|
||||
flags.append('--warn-unused-ignores')
|
||||
if args.platform:
|
||||
|
||||
2
third_party/2/fb303/FacebookService.pyi
vendored
2
third_party/2/fb303/FacebookService.pyi
vendored
@@ -58,7 +58,7 @@ class Client(Iface):
|
||||
def shutdown(self): ...
|
||||
def send_shutdown(self): ...
|
||||
|
||||
class Processor(Iface, TProcessor):
|
||||
class Processor(Iface, TProcessor): # type: ignore
|
||||
def __init__(self, handler) -> None: ...
|
||||
def process(self, iprot, oprot): ...
|
||||
def process_getName(self, seqid, iprot, oprot): ...
|
||||
|
||||
2
third_party/2/scribe/scribe.pyi
vendored
2
third_party/2/scribe/scribe.pyi
vendored
@@ -13,7 +13,7 @@ class Client(fb303.FacebookService.Client, Iface):
|
||||
def send_Log(self, messages): ...
|
||||
def recv_Log(self): ...
|
||||
|
||||
class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
|
||||
class Processor(fb303.FacebookService.Processor, Iface, TProcessor): # type: ignore
|
||||
def __init__(self, handler) -> None: ...
|
||||
def process(self, iprot, oprot): ...
|
||||
def process_Log(self, seqid, iprot, oprot): ...
|
||||
|
||||
@@ -50,7 +50,8 @@ class RepeatedCompositeFieldContainer(BaseContainer[_T]):
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
|
||||
# Classes not yet typed
|
||||
class Mapping(Any): ...
|
||||
class Mapping(object):
|
||||
def __getattr__(self, name: str) -> Any: ... # incomplete
|
||||
class MutableMapping(Mapping): ...
|
||||
class ScalarMap(MutableMapping): ...
|
||||
class MessageMap(MutableMapping): ...
|
||||
|
||||
Reference in New Issue
Block a user