Sending and Receiving silent payments as a plugin #10526
Closed
Cirrus CI / linter: Flake8 Mandatory
failed
Mar 14, 2026 in 57s
Task Summary
Instruction flake8 failed in 00:32
Details
✅ 00:19 clone
✅ 00:01 pip
✅ 00:02 install
❌ 00:32 flake8
flake8 . --count --select="$ELECTRUM_LINTERS" --ignore="$ELECTRUM_LINTERS_IGNORE" --show-source --statistics --exclude "*_pb2.py,electrum/_vendor/"
./electrum/plugins/silent_payments/qt.py:4:14: F821 undefined name 'BasePlugin'
class Plugin(BasePlugin):
^
./electrum/plugins/silent_payments/qt.py:15:1: W293 blank line contains whitespace
^
./electrum/plugins/silent_payments/qt.py:17:96: W292 no newline at end of file
output.scriptpubkey = b'\x51' + len(tweaked_pk).to_bytes(1, 'big') + tweaked_pk ^
./electrum/plugins/silent_payments/scanner.py:43:50: W291 trailing whitespace
bytes.fromhex(item['tweak']),
^
./electrum/plugins/silent_payments/scanner.py:45:34: W291 trailing whitespace
item['txid'],
^
./electrum/plugins/silent_payments/scanner.py:49:40: W292 no newline at end of file
threading.Event().wait(300) ^
./electrum/plugins/silent_payments/silent_payments.py:33:16: F821 undefined name 'tweaked_pubkey'
return tweaked_pubkey ^
./electrum/plugins/silent_payments/silent_payments.py:33:30: W292 no newline at end of file
return tweaked_pubkey ^
./electrum/plugins/silent_payments/transaction_utils.py:27:1: W293 blank line contains whitespace
^
./electrum/plugins/silent_payments/transaction_utils.py:33:1: W293 blank line contains whitespace
^
./electrum/plugins/silent_payments/transaction_utils.py:36:27: W292 no newline at end of file
return hasher.digest() ^
2 F821 undefined name 'BasePlugin'
2 W291 trailing whitespace
4 W292 no newline at end of file
3 W293 blank line contains whitespace
11
Loading