mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-26 04:46:46 +08:00
Fixing flake8 F403, F405 errors
This commit is contained in:
2
third_party/2/scribe/scribe.pyi
vendored
2
third_party/2/scribe/scribe.pyi
vendored
@@ -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):
|
||||
|
||||
2
third_party/2/six/moves/cPickle.pyi
vendored
2
third_party/2/six/moves/cPickle.pyi
vendored
@@ -3,4 +3,4 @@
|
||||
#
|
||||
# Stubs for six.moves.cPickle (Python 2.7)
|
||||
|
||||
from cPickle import *
|
||||
from cPickle import * # noqa: F403
|
||||
|
||||
2
third_party/2/sqlalchemy/databases/mysql.pyi
vendored
2
third_party/2/sqlalchemy/databases/mysql.pyi
vendored
@@ -1 +1 @@
|
||||
from sqlalchemy.dialects.mysql.base import *
|
||||
from sqlalchemy.dialects.mysql.base import * # noqa: F403
|
||||
|
||||
@@ -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
|
||||
|
||||
3
third_party/2/thrift/protocol/TProtocol.pyi
vendored
3
third_party/2/thrift/protocol/TProtocol.pyi
vendored
@@ -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
|
||||
|
||||
3
third_party/2/thrift/transport/TSocket.pyi
vendored
3
third_party/2/thrift/transport/TSocket.pyi
vendored
@@ -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
|
||||
|
||||
@@ -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): ...
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
2
third_party/3/six/moves/cPickle.pyi
vendored
2
third_party/3/six/moves/cPickle.pyi
vendored
@@ -3,4 +3,4 @@
|
||||
#
|
||||
# Stubs for six.moves.cPickle (Python 3.2)
|
||||
|
||||
from pickle import *
|
||||
from pickle import * # noqa: F403
|
||||
|
||||
Reference in New Issue
Block a user