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
View File
@@ -1,4 +1,3 @@
import pytest
import pytest_asyncio
from lnbits.core.crud import create_account, create_wallet
+10 -7
View File
@@ -1,12 +1,15 @@
import pytest
import pytest_asyncio
from loguru import logger
import pytest_asyncio # noqa: F401
from loguru import logger # noqa: F401
from lnbits.core.crud import get_wallet
from tests.conftest import adminkey_headers_from, client, invoice
from tests.extensions.invoices.conftest import accounting_invoice, invoices_wallet
from tests.helpers import credit_wallet
from tests.mocks import WALLET
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.mocks import WALLET # noqa: F401
@pytest.mark.asyncio