remove unneeded imports (thanks importchecker!)

This commit is contained in:
jesopo 2020-04-02 18:00:28 +01:00
parent f43cb75bfa
commit 03c71f6498
5 changed files with 6 additions and 11 deletions

View file

@ -1,7 +1,7 @@
import asyncio, inspect
import asyncio
import anyio
from typing import Any, Awaitable, Callable, cast, Dict, List, Tuple
from typing import Dict
from irctokens import Line
from .server import ConnectionParams, Server

View file

@ -1,6 +1,5 @@
from typing import Awaitable, Optional
from typing import Awaitable
from enum import IntEnum
from dataclasses import dataclass
from ircstates import Server
from irctokens import Line

View file

@ -1,4 +1,4 @@
from typing import Callable, Iterable, List, Optional
from typing import Iterable, List, Optional
class Capability(object):
def __init__(self,

View file

@ -1,7 +1,6 @@
from typing import Optional
from enum import Enum
from base64 import b64encode
from dataclasses import dataclass
from irctokens import build
from .matching import Response, Numerics, ParamAny

View file

@ -1,9 +1,6 @@
import asyncio, ssl
from asyncio import Future, PriorityQueue
from queue import Queue
from typing import Awaitable, Callable, Dict, List, Optional, Set, Tuple
from enum import Enum
from dataclasses import dataclass
from typing import Awaitable, List, Optional, Set, Tuple
from asyncio_throttle import Throttler
from ircstates import Emit
@ -11,7 +8,7 @@ from irctokens import build, Line, tokenise
from .ircv3 import Capability, CAPS, CAP_SASL
from .interface import ConnectionParams, IServer, PriorityLine, SendPriority
from .matching import BaseResponse, Response, Numerics, ParamAny, Literal
from .matching import BaseResponse
from .sasl import SASLContext
sc = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)