fix isort check

This commit is contained in:
dni 2022-07-20 13:12:55 +02:00
parent 0e393111de
commit 4dfa0873e5
4 changed files with 3 additions and 6 deletions

View File

@ -3,7 +3,7 @@ import hashlib
import json import json
from binascii import unhexlify from binascii import unhexlify
from http import HTTPStatus from http import HTTPStatus
from typing import Dict, List, Optional, Union, Tuple from typing import Dict, List, Optional, Tuple, Union
from urllib.parse import ParseResult, parse_qs, urlencode, urlparse, urlunparse from urllib.parse import ParseResult, parse_qs, urlencode, urlparse, urlunparse
import httpx import httpx

View File

@ -1,5 +1,4 @@
from http import HTTPStatus from http import HTTPStatus
from typing import Union from typing import Union
from cerberus import Validator # type: ignore from cerberus import Validator # type: ignore

View File

@ -1,5 +1,5 @@
import asyncio import asyncio
from typing import Callable, NamedTuple, List from typing import Callable, List, NamedTuple
import httpx import httpx
from loguru import logger from loguru import logger

View File

@ -8,11 +8,9 @@ from typing import AsyncGenerator, Dict, Optional
import httpx import httpx
from loguru import logger from loguru import logger
from websockets import connect # type: ignore
# TODO: https://github.com/lnbits/lnbits-legend/issues/764 # TODO: https://github.com/lnbits/lnbits-legend/issues/764
# mypy https://github.com/aaugustin/websockets/issues/940 # mypy https://github.com/aaugustin/websockets/issues/940
from websockets import connect # type: ignore
from websockets.exceptions import ( from websockets.exceptions import (
ConnectionClosed, ConnectionClosed,
ConnectionClosedError, ConnectionClosedError,