[CHORE] flake8 issues E402, E721 and F821 (#1874)

* F821: undefine name
disabled and logged webhook_listener for opennode and lnpay because they are obviously not working
* E402: module level import not at top of file
* E721 fixes, only popped up for python3.9 not 3.10
This commit is contained in:
dni ⚡
2023-08-16 12:22:14 +02:00
committed by GitHub
parent 355806608b
commit f0a66e41fb
13 changed files with 108 additions and 112 deletions
+2 -1
View File
@@ -3,8 +3,9 @@ max-line-length = 150
exclude = lnbits/wallets/lnd_grpc_files/, lnbits/extensions/
ignore =
# E203 whitespace before ':' black does not like it
E203
E203,
# E402: module level import not at top of file
# needed for https://github.com/lnbits/lnbits/pull/1876
E402,
# W503: line break before binary operator
W503,