fix flake8 F811 (redefinition of unused)

This commit is contained in:
Pavol Rusnak 2023-01-22 09:59:58 +00:00
parent 388cfc18fa
commit 24fbb9ef5d
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 0 additions and 7 deletions

View File

@ -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):

View File

@ -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:

View File

@ -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