Ignore thrift imports (#1869)

Fixes #1868
This commit is contained in:
Guido van Rossum
2018-02-09 09:11:59 -08:00
committed by GitHub
parent 6b82088e20
commit 40d6faeccd
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
from typing import Any
from thrift.Thrift import TProcessor
from thrift.Thrift import TProcessor # type: ignore
fastbinary = ... # type: Any

View File

@@ -2,7 +2,7 @@ from typing import Any
import fb303.FacebookService
from .ttypes import * # noqa: F403
from thrift.Thrift import TProcessor
from thrift.Thrift import TProcessor # type: ignore # We don't have thrift stubs in typeshed
class Iface(fb303.FacebookService.Iface):
def Log(self, messages): ...