Browse Source

flake8

main
nibrag 8 years ago
parent
commit
3d30b29b7b
2 changed files with 11 additions and 3 deletions
  1. +7
    -2
      aiosocks/__init__.py
  2. +4
    -1
      aiosocks/protocols.py

+ 7
- 2
aiosocks/__init__.py View File

@@ -1,6 +1,11 @@
import asyncio
from .errors import * # noqa
from .helpers import * # noqa
from .errors import (
SocksError, NoAcceptableAuthMethods, LoginAuthenticationFailed,
SocksConnectionError, InvalidServerReply, InvalidServerVersion
)
from .helpers import (
SocksAddr, Socks4Addr, Socks5Addr, Socks4Auth, Socks5Auth
)
from .protocols import Socks4Protocol, Socks5Protocol

__version__ = '0.1.2'


+ 4
- 1
aiosocks/protocols.py View File

@@ -5,7 +5,10 @@ from . import constants as c
from .helpers import (
Socks4Addr, Socks5Addr, Socks5Auth, Socks4Auth
)
from .errors import * # noqa
from .errors import (
SocksError, NoAcceptableAuthMethods, LoginAuthenticationFailed,
InvalidServerReply, InvalidServerVersion
)


class BaseSocksProtocol(asyncio.StreamReaderProtocol):


Loading…
Cancel
Save