Fixing flake8 F403, F405 errors

This commit is contained in:
Lukasz Langa
2016-12-20 02:28:12 -08:00
parent 99a57e5cbe
commit 82b2d8e3bc
24 changed files with 36 additions and 33 deletions

View File

@@ -5,7 +5,7 @@
from typing import Any
import fb303.FacebookService
from .ttypes import *
from .ttypes import * # noqa: F403
from thrift.Thrift import TProcessor
class Iface(fb303.FacebookService.Iface):

View File

@@ -3,4 +3,4 @@
#
# Stubs for six.moves.cPickle (Python 2.7)
from cPickle import *
from cPickle import * # noqa: F403

View File

@@ -1 +1 @@
from sqlalchemy.dialects.mysql.base import *
from sqlalchemy.dialects.mysql.base import * # noqa: F403

View File

@@ -4,7 +4,8 @@
from typing import Any
from .TProtocol import *
from .TProtocol import TProtocolBase
from .TProtocol import * # noqa: F403
class TBinaryProtocol(TProtocolBase):
VERSION_MASK = ... # type: Any

View File

@@ -4,7 +4,8 @@
from typing import Any
from thrift.Thrift import *
from thrift.Thrift import TException
from thrift.Thrift import * # noqa: F403
class TProtocolException(TException):
UNKNOWN = ... # type: Any

View File

@@ -4,7 +4,8 @@
from typing import Any
from .TTransport import *
from .TTransport import TTransportBase, TServerTransportBase
from .TTransport import * # noqa: F403
class TSocketBase(TTransportBase):
handle = ... # type: Any

View File

@@ -3,7 +3,9 @@
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
from Crypto.PublicKey.pubkey import *
from Crypto.PublicKey.pubkey import pubkey
from Crypto.PublicKey.pubkey import * # noqa: F403
class error(Exception): ...

View File

@@ -2,7 +2,7 @@
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from Crypto.Util.number import *
from Crypto.Util.number import * # noqa: F403
__revision__ = ... # type: str

View File

@@ -3,4 +3,4 @@
#
# Stubs for six.moves.cPickle (Python 3.2)
from pickle import *
from pickle import * # noqa: F403