fix flake8 E302 (expected 2 blank lines)

This commit is contained in:
Pavol Rusnak 2023-01-21 15:32:25 +00:00
parent 421214bc36
commit a02f147482
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ from .nxp424 import decryptSUN, getSunMAC
###############LNURLWITHDRAW################# ###############LNURLWITHDRAW#################
# /boltcards/api/v1/scan?p=00000000000000000000000000000000&c=0000000000000000 # /boltcards/api/v1/scan?p=00000000000000000000000000000000&c=0000000000000000
@boltcards_ext.get("/api/v1/scan/{external_id}") @boltcards_ext.get("/api/v1/scan/{external_id}")
async def api_scan(p, c, request: Request, external_id: str = Query(None)): async def api_scan(p, c, request: Request, external_id: str = Query(None)):

View File

@ -16,6 +16,7 @@ from ...helpers import get_random_invoice_data, is_regtest
WALLET = get_wallet_class() WALLET = get_wallet_class()
# check if the client is working # check if the client is working
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_core_views_generic(client): async def test_core_views_generic(client):