fix flake8 F811 (redefinition of unused)
This commit is contained in:
parent
388cfc18fa
commit
24fbb9ef5d
|
@ -8,7 +8,6 @@ from lnurl import Lnurl
|
||||||
from lnurl import encode as lnurl_encode
|
from lnurl import encode as lnurl_encode
|
||||||
from lnurl.types import LnurlPayMetadata
|
from lnurl.types import LnurlPayMetadata
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
from pydantic.main import BaseModel
|
|
||||||
|
|
||||||
|
|
||||||
class satsdiceLink(BaseModel):
|
class satsdiceLink(BaseModel):
|
||||||
|
|
|
@ -7,7 +7,6 @@ from Cryptodome.Cipher import AES
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
|
|
||||||
BLOCK_SIZE = 16
|
BLOCK_SIZE = 16
|
||||||
import getpass
|
|
||||||
|
|
||||||
|
|
||||||
def load_macaroon(macaroon: str) -> str:
|
def load_macaroon(macaroon: str) -> str:
|
||||||
|
|
|
@ -3,11 +3,6 @@ import pytest_asyncio # noqa: F401
|
||||||
from loguru import logger # noqa: F401
|
from loguru import logger # noqa: F401
|
||||||
|
|
||||||
from lnbits.core.crud import get_wallet # noqa: F401
|
from lnbits.core.crud import get_wallet # noqa: F401
|
||||||
from tests.conftest import adminkey_headers_from, client, invoice # noqa: F401
|
|
||||||
from tests.extensions.invoices.conftest import ( # noqa: F401
|
|
||||||
accounting_invoice,
|
|
||||||
invoices_wallet,
|
|
||||||
)
|
|
||||||
from tests.helpers import credit_wallet # noqa: F401
|
from tests.helpers import credit_wallet # noqa: F401
|
||||||
from tests.mocks import WALLET # noqa: F401
|
from tests.mocks import WALLET # noqa: F401
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user