fix flake8 F401+F403 (module imported but unused + unable to detect undefined names)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:45 +00:00
parent 967ce06ca5
commit a49a654137
65 changed files with 102 additions and 160 deletions
+1 -7
View File
@@ -1,15 +1,9 @@
import hashlib
import pytest
import pytest_asyncio
from lnbits import bolt11
from lnbits.core.crud import get_wallet
from lnbits.core.views.api import (
CreateInvoiceData,
api_payment,
api_payments_create_invoice,
)
from lnbits.core.views.api import api_payment
from lnbits.settings import get_wallet_class
from ...helpers import get_random_invoice_data, is_regtest
-3
View File
@@ -1,7 +1,4 @@
import pytest
import pytest_asyncio
from tests.conftest import client
@pytest.mark.asyncio
-3
View File
@@ -1,7 +1,4 @@
import pytest
import pytest_asyncio
from lnbits.core.crud import get_wallet
# check if the client is working